Making critters lootable after killing them
-
- SDF!
- Posts: 10
- Joined: Mon May 05, 2003 5:39 pm
Making critters lootable after killing them
Does a corresponding critter's *.pro file have a byte that determines whether the player can loot its dead corpse once it dies?
-
- SDF!
- Posts: 10
- Joined: Mon May 05, 2003 5:39 pm
Geckos and Fire Geckos
You can loot silver Geckos and Golden Geckos, but you cannot loot Fire Geckos. By killing a Fire Gecko, you will raise your number of Gecko kills by one, as you would by killing a silver or Golden Gecko. Thus, I am thinking that a 'Lootability byte' might exist in the *.pro files. Or is lootability coded for in the corresponding script for the certain critter? Perhaps in the 'destroy_proc' procedure?
just had a look in the editor at a rat.. it's proto has critter flags..
one of which is _drop.. and when you go into set the flags, it asks..
cannot be stolen from?
cannot drop items?
...
and so on. so my guess is that you have to edit the proto and set it to?? ( erm if it asks "cannot be stolen from ?" and the answers are yes and no.. which is one to set it so it can be stollen from.. since "no, it cannot be stolen from" means it cannot be stolen from, and "yes, it cannot be stolen from" also means it cannot be stolen from.. )
one of which is _drop.. and when you go into set the flags, it asks..
cannot be stolen from?
cannot drop items?
...
and so on. so my guess is that you have to edit the proto and set it to?? ( erm if it asks "cannot be stolen from ?" and the answers are yes and no.. which is one to set it so it can be stollen from.. since "no, it cannot be stolen from" means it cannot be stolen from, and "yes, it cannot be stolen from" also means it cannot be stolen from.. )
- Red
- Hero of the Glowing Lands
- Posts: 2085
- Joined: Wed May 15, 2002 11:58 am
- Location: Nowhere (important anyway)
- Contact:
Remember that me being "postive" still doesn't mean I'm right. Though I like to think I am, I'm not infallible.
Given some wack coincidence hapenned when I checked my own stuff out, say I chose two critters which had a thrid bit (flag) set somewhere I didn't notice, and when toggling it I also accidently toggled that other bit and it hapens that it's actually this other bit I didn't notice which triggered the whole thing, my whole concept might be wrong...
Though I highlly doubt all of that, it's still a possibility - and it has hapenned before...
Given some wack coincidence hapenned when I checked my own stuff out, say I chose two critters which had a thrid bit (flag) set somewhere I didn't notice, and when toggling it I also accidently toggled that other bit and it hapens that it's actually this other bit I didn't notice which triggered the whole thing, my whole concept might be wrong...
Though I highlly doubt all of that, it's still a possibility - and it has hapenned before...
...
-
- SDF!
- Posts: 17
- Joined: Tue May 06, 2003 3:26 pm
- Location: Somewhere in france