Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [40d] items that are on the ground and simultaneously in someone's inventory?  (Read 1576 times)

Mithaldu

  • Bay Watcher
    • View Profile

I'm not 100 sure on whether this is a bug or not, but while fiddling around with lifevis i noticed that there are some items where flag 0x1 (1<<0) AND 0x20 (1<<3) are set. It doesn't affect me, but may hint at an inconsistency in item handling. :)

Relevant save is: http://dffd.wimbli.com/file.php?id=579

It has these mods:

Quote from: Footkerchief
If you want to load that save add this to matgloss_metal:

Code: [Select]
[MATGLOSS_METAL:GLASS_TEMPERED]
[NAME:tempered glass][ADJ:tempered glass][COLOR:0:7:1]
[VALUE:25]
[SPEC_HEAT:450]
[MELTING_POINT:13180]
[BOILING_POINT:13760]
[AMMO]
[DAMAGE_PERC:116]
[BLOCK_PERC:50]
[SOLID_DENSITY:2650]

And this into reaction_standard:

Code: [Select]
[REACTION:GREEN_GLASS_TEMPERING]
[NAME:temper green glass]
[SMELTER]
[REAGENT:1:ROUGH:NO_SUBTYPE:GLASS_GREEN:NO_SUBTYPE]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:GLASS_TEMPERED]
[FUEL]

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com

Yeah, that probably shouldn't be happening, and I didn't see an easy way to get that to happen since the flags pretty much remove the other when they are set.  I'll take a look at that at some point.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Mithaldu

  • Bay Watcher
    • View Profile

Glad to be of assistance. Would it maybe help you if i collected the data on the items in question, as far as i can ascertain it?
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com

Yeah, if it's a particular type of item or an item in a certain situation, that would be good to know, though that'll be the first thing I go through when I check the save myself, in many years, if you don't want to go through it with less of a window on what's what.
Logged
The Toad, a Natural Resource:  Preserve yours today!