Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: individual backgrounds  () 1 Vote
Re: New feature: individual backgrounds[message #349024 is a reply to message #349023] Sun, 26 February 2017 21:22 Go to previous messageGo to next message
Flugente

 
Messages:3309
Registered:April 2009
Location: Germany
Reading in xmls is a bit trickier - you forgot to add the tags to the list of allowed tags in backgroundStartElementHandle(...). Anyway, not sure why SPARSE sectors would be considered 'forest', so I'm removing that, apart from that, committed in r8390 & GameDir r2362.



Saren threw his head back and screamed in impotent fury, before falling to his throne, head in his claws, trembling in horrified disbelief.

Then he heard a faint chime as Sovereign subscribed to her ECHO channel.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Re: New feature: individual backgrounds[message #352584 is a reply to message #349024] Wed, 28 February 2018 22:09 Go to previous message
Flugente

 
Messages:3309
Registered:April 2009
Location: Germany
I like game mechanics that aren't onesided. As of r8530, if a merc's background has <druguse> set, they occasionally consume beneficial drugs in combat for free.

This means that if a merc has that tag, is in combat and is bleeding, they can take a HP-restoring drug at the start of their turn from their inventory, and this won't cost AP. Note that this very roughly takes the drug size into account, so you won't munch down a regen booster if you've just taken 2 damage (it basically starts if 2 * bleeding damage > drug effect + drug size * useable portion size).
Similar, if breath < 50, they can take breath-restoring drugs (energy booster etc.) for free.
The basic idea is that drug users are, well, easily motivated to take those things. And this can, depending on the situation and the drugs you store, be beneficial.

Note that this effect only happens in turnbased mode or combat, and can only occur every 6 turns. It also does not take the other drug effects into account. If you have a regen booster that gives you CancerAids, the merc will take it, no questions asked (apart from 'why do you have that, and why do you store it in a drug addicts' inventory, you twat?').



Saren threw his head back and screamed in impotent fury, before falling to his throne, head in his claws, trembling in horrified disbelief.

Then he heard a faint chime as Sovereign subscribed to her ECHO channel.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.


Previous Topic: New feature: Take prisoners, interrogate them
Next Topic: New feature: additional dialogue
Goto Forum:
  


Current Time: Wed May 23 11:55:12 EEST 2018

Total time taken to generate the page: 0.01304 seconds