Commit Graph

415 Commits

Author SHA1 Message Date
Rob Pearce 77ee8bb7d7 Manrikimodifications:
Reduce difficulty of strength check to escape it.
	Make it take damage when struggling
2016-06-13 22:24:31 +10:00
Rob Pearce cd58efb772 Fixed bug in getrandomobofclass() causing "get random food" to fail. 2016-06-13 22:18:24 +10:00
Rob Pearce 3e3bc4a334 Updated description of 'glowing flask' 2016-06-13 21:58:37 +10:00
Rob Pearce f2a8f408d6 Lowered power of 'chill' spell. 2016-06-13 21:43:19 +10:00
Rob Pearce efdbd3fe40 Insects resist cold. 2016-06-13 21:42:05 +10:00
Rob Pearce 52a57e7b17 God piety should only be affected by backstabs etc. if the attacker was the player! 2016-06-13 09:50:49 +10:00
Rob Pearce 4c4c3a3e04 should be able to 'o'perate a lockpick to trigger the 'pick locks' skill using that object. 2016-06-13 09:30:03 +10:00
Rob Pearce 51bdeede32 For cartographer skills, don't shade out some known cells outside of our vision range. - stairs - doors - objects 2016-06-13 09:15:00 +10:00
Rob Pearce 3dd52fa511 When describing an object fmor a shop, show its real (identified) name. 2016-06-13 08:44:14 +10:00
Rob Pearce 4994faa11b Mottled snail now has cold resistance. 2016-06-12 22:01:36 +10:00
Rob Pearce 6edfb3ee6d bigfix: aigetlastknownpos() fails when one of the adjacent cells is off the edge of the map. 2016-06-12 22:01:02 +10:00
Rob Pearce 60e28b6c03 If revived while stuck inside a solid wall, move elsewhere. 2016-06-10 15:27:26 +10:00
Rob Pearce b7627de8cb F_POWDER items now dissolve in water. 2016-06-09 21:17:39 +10:00
Rob Pearce c6f3f3f9bd - takedamage() should end instantly if object is aleady dead. 2016-06-09 17:11:47 +10:00
Rob Pearce 8730225c6e Added new version of pool room vault with deep water. 2016-06-09 12:20:48 +10:00
Rob Pearce c1f8bdcc9d Remove "dissolved" killverb for acid - doesn't make sense. 2016-06-09 11:46:31 +10:00
Rob Pearce 2daa5d79a2 Scroll of wishing value was way too low ($150) 2016-06-09 11:34:27 +10:00
Rob Pearce aa1a3e22cf Mages should start at inept in non-primary/secondary spell schools. 2016-06-09 11:33:58 +10:00
Rob Pearce 0f90f3b76f Tweak breakob code again to cope with various numbers of broken object types, not just 2.
Replace all (struct)->weight with (struct)->mass.
2016-06-09 11:24:24 +10:00
Rob Pearce 74b0e9841f Modify getbreakob() to produce less objects - a burned giant newt corpse was turning into ~38 piles of ash! 2016-06-09 10:52:48 +10:00
Rob Pearce a4735d597c MAke object weight functions more meaningful - getobmass() and getobweight() 2016-06-09 10:51:55 +10:00
Rob Pearce d676a33072 Fix crash in ai movement when move was "successful" but target cell was still removed (eg. tried to open an unopenable door). 2016-06-09 10:25:50 +10:00
Rob Pearce d98ba870ca New option: prompt to abandon spells/abilities 2016-06-07 20:12:22 +10:00
Rob Pearce fd450ba0c3 - Allow mages to select spells from their primary school through training, by spending points.
- Rename 'weapon attraction' spell to 'guided weapon'
- When showing spells in a book, include their school
- $ key to show current money
2016-06-07 16:52:41 +10:00
Rob Pearce 267f046986 When you fail to disarm a trap on a chest, and it goes off, ensure the trap is removed. 2016-06-06 22:29:20 +10:00
Rob Pearce 176aea7374 Increase attack delay on polearms. 2016-06-06 22:17:19 +10:00
Rob Pearce 5bcf36fdce Show stamina cost in weapon description. 2016-06-06 20:55:53 +10:00
Rob Pearce 0bc557f2f5 If you run out of stamina while flying, immediately stop flying.
Don't require stamina to stop flying.
2016-06-06 20:42:45 +10:00
Rob Pearce 95e36275d3 Increase cooldown time on monsters casting 'flee' spells 2016-06-06 19:21:15 +10:00
Rob Pearce 250fe6033a Cursed scroll of sense surroundings should set cell known glyphs to random. 2016-06-06 17:22:16 +10:00
Rob Pearce eabf474c08 Allow random objects with given rarity in vault files "rare random thing" or "vrare random thing"
poolroom.vlt should have slightly less piranhas and a chance of rare objects underwater
2016-06-06 17:07:14 +10:00
Rob Pearce 8456ed6a74 - Option to notify about absorbed into dirt
- Fix crash if no cells found for god to appear.
- When calling fillpot from splashes moved/placed objects, make sure there is sufficient liquid to fill to container.
- Potion of blood sohuld always be a 'dark red potion'
2016-06-06 15:21:47 +10:00
Rob Pearce bd0f37f461 *water appearing/moving onto cells should turn empty flasks into potions if they have F_FILLPOT 2016-06-06 12:15:42 +10:00
Rob Pearce d381e8444c - Introduce MR_BACKTOLAIR to avoid ai code failures.
- Clear message bar before askobject()
- Make towel code include certain small liquids on the ground (splash of water, blood, etc)
2016-06-06 10:28:49 +10:00
Rob Pearce a23bedde10 *When using a towel, make it able to dry off objects on the ground.
*When using a towel, make it wet based on how much you dry off.
*Create Water description should specify that water is created on the ground.
*when creating "a wet xxx", make its wetness time be the maximum.
*fixed bug where F_WET obmods would not show up after the v1 timer value changed (added flags->obmodignore[])
2016-06-04 10:20:34 +10:00
Rob Pearce e1edc8e14b - In THREAT ASSESSMENT, don't show both "your <limb> is destroyed" and "you have no <limb>".
- Make '0' work as a shortcut slot.
- Change default shortcuts
        Sixth sense -> 6 ("SIXth" -> "6th" -> 6)
        Tiptoe -> 0 ("tOE" -> "oh" -> 0)
        Training -> 9
2016-06-03 15:28:05 +10:00
Rob Pearce f3030981fa Fixed bug from recent commit where wished for objects weren't correctly described. 2016-06-02 16:50:32 +10:00
Rob Pearce 9cd7615a9b Bug - check for slippery objects in initiatemove() was done on the NEW cell, not
the current one.
2016-06-02 16:47:27 +10:00
Rob Pearce 59204a30a0 Fix object text when it has attribute scaling but no requirement. 2016-06-02 16:41:18 +10:00
Rob Pearce 9330c00ab3 Uncursing objects now causes them to become unequipped. 2016-06-02 16:35:12 +10:00
Rob Pearce dc48475d8b Cursed eyewear now _reduces_ your vision range. 2016-06-02 16:22:26 +10:00
Rob Pearce 562f3d082b - Dagger of Revenge had incorrect F_LINKGOD.
- Prevent obtaining key items via wishes.
2016-06-02 15:46:30 +10:00
Rob Pearce 986f9306ce After a low wisdom enemy wakes up robbed, make them angry towards everyone for a while. 2016-06-02 14:56:52 +10:00
Rob Pearce c30a1c4b94 - generate error if main screen is not at least 80x25
- showlfstats() - implement text wrap and scrolling on Effects screen
- If a monster slips and IQ >= animal, tiptoe next turn.
2016-06-02 14:50:03 +10:00
Rob Pearce 3fb91ba6e1 Change weapon stamina loss to be BASELOSS + 3*weapon_attackdelay_mod
ie. weapon attack delay of 130 = 190% of base stamina loss.
        This should mitigate powerful weapons like halberds.

Make innate 'fists' type objects have the same fast attack speed as a dagger.
2016-06-02 11:35:58 +10:00
Rob Pearce 321a5ae00c - Implement proper up/down paging in showlfstats()
- getspellschoolknown() returning unpredictable results
- in Skill screen, show abbreviations on each line for ease of reading.
2016-06-02 11:24:32 +10:00
Rob Pearce 997d5f88a8 Worker ants should be able to dig down through stone floors. 2016-06-02 00:34:57 +10:00
Rob Pearce 89dbff4a63 Potions of (in)competence now modify attributes by 5, not 1.
Add a squeaking hinge trap
Rename doobtraps() to triggerattachedtrap() for readbility.
Make using spanners able to set off traps.....
Make spanners able to unlock anything (chests, doors)
Allow (I)nteraction with adjacent objects, not just impassable ones (but limit what kind of objects this works with).
Remove CMD_CLOSE command ('s') - we can just use 'interact'.
Limit (I)nteractions to cells in front of you.
2016-06-01 23:59:39 +10:00
Rob Pearce 2ed1f07968 - Monsters summoned by other monsters should never attack their summoner. 2016-06-01 21:17:06 +10:00
Rob Pearce 5135352e2a Random object generation was completely broken. Should be a little better now. 2016-06-01 21:09:21 +10:00