Commit Graph

220 Commits

Author SHA1 Message Date
rob 17aef350b3 working on removing flicker 2022-08-28 21:00:26 +10:00
rob 9fcbceb8c6 WIP: implementing hash tables for flagpiles. flag code done, need to wrap all walks of flagpiles with foreach_bucket() 2022-08-28 15:13:30 +10:00
Rob Pearce 134542ed8f Adding a bunch of files which say they're modified, possibly just because I'm on a new system. 2021-11-16 11:23:38 +11:00
Rob Pearce 8aef3bf1eb When an attack spins someone around:
- break their grabs
- actually spin them around when the play can't see it
2019-08-29 20:56:51 +10:00
Rob Pearce 9456fba0f7 healthy food has a chance of curing poison 2019-08-20 18:19:13 +10:00
Rob Pearce b89c0fe7b9 amulet of acrobatics now increases agility 2019-08-20 17:15:15 +10:00
Rob Pearce e5dfd28216 Vegetarians shouldn't drink flasks of chicken soup / beef strogonoff. 2016-07-23 11:36:25 +10:00
Rob Pearce 7a5563de68 *Rats should be immune to disease
*Increase IQ bracket level required to count as "genius"
*prevent baba yaga's hut (or any F_NORANDOM buildings) from being randomly created
2016-07-07 16:25:06 +10:00
Rob Pearce 2b82e1de44 Small quadrapeds/birds shouldn't be able to slip on things, nor should snakes. 2016-06-21 21:46:32 +10:00
Rob Pearce 33c532339c Slightly increase chance of vaults in the main dungeon
When creating vaults, use 50% chance each time of increasing rarity instead of 33%
Make chests have better objects
2016-06-18 18:22:43 +10:00
Rob Pearce 57cd4200ff banana skin was missing F_DAMAGABLE 2016-06-14 01:16:09 +10:00
Rob Pearce 8500c020cb When an lf slips on an object, cause 1 damage per lf size level. 2016-06-14 00:15:13 +10:00
Rob Pearce 57740d9016 Typo. 2016-06-13 22:30:31 +10:00
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 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 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 4994faa11b Mottled snail now has cold resistance. 2016-06-12 22:01:36 +10:00
Rob Pearce c6f3f3f9bd - takedamage() should end instantly if object is aleady dead. 2016-06-09 17:11:47 +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 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 176aea7374 Increase attack delay on polearms. 2016-06-06 22:17:19 +10:00
Rob Pearce 95e36275d3 Increase cooldown time on monsters casting 'flee' spells 2016-06-06 19:21:15 +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 562f3d082b - Dagger of Revenge had incorrect F_LINKGOD.
- Prevent obtaining key items via wishes.
2016-06-02 15:46:30 +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 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 5135352e2a Random object generation was completely broken. Should be a little better now. 2016-06-01 21:09:21 +10:00
Rob Pearce 4a7711d110 Genies should be immune to cold
Objects/lfs made of gas shouldn't be able to be knocked backwards
2016-06-01 16:51:09 +10:00
Rob Pearce f064ce1c41 Don't show how far you can throw objects if their class is OC_EFFECT (eg. magical barrier) 2016-06-01 15:50:04 +10:00
Rob Pearce f9a03e40e6 heat metal spell is way too strong, instakilled my char with 50-60 hp. Reduce heat duration from 3-6 turns to 1-2 turns. 2016-06-01 15:38:06 +10:00
Rob Pearce 4a072fefc8 - Lower range of 'heat metal' to 1.
- Change description for fatal heat damage to 'scalded'.  Only use 'incinerated' for fire damage.
- Immutable objects shouldn't be able to be heated (eg. with "heat metal")
2016-06-01 15:01:07 +10:00
Rob Pearce f8314937b1 Monsters with jobs like firemage/icemage should be immune to that job's element. 2016-05-31 16:41:07 +10:00
Rob Pearce 9bc3e6f683 Undead should be immune to pain from acid injection. 2016-05-31 15:12:03 +10:00
Rob Pearce cb31db8fff When selecting job, show recommendations based on race. 2016-05-31 14:37:08 +10:00
Rob Pearce 8ed4b9aca0 - new l2 death spell: "field of decay" - damage objects / lfs made from organic material
- If not in battle, praying to Hecta will restore stamina / mana, and sometimes cast field of decay
2016-05-31 12:23:39 +10:00
Rob Pearce 99fc225519 - in addob(), prevent placing innate attack objects into non-lf obpiles.
- when parsing object names, require an exact match for innate attack objects.
2016-05-31 10:41:00 +10:00
Rob Pearce 54643ca5b9 - Make flasks of soup randomly appear. 2016-05-31 10:07:12 +10:00
Rob Pearce 621cd37bf5 - Bad text: "Outside of battle, Hecta will respond to prayers by ." 2016-05-31 01:56:15 +10:00
Rob Pearce 23e50d1cf2 - Safety googles (and anything tinted) will protect you from being blinded by bright lights. 2016-05-31 00:49:04 +10:00
Robert Pearce e9a2ccb2c8 - Fixed heaps of memory leaks and bad memory usage. This should finally fix the flagpile corruption from 6 years ago!
- forgot to initialise brand->description
- door displaying as "leaf" - definition of knowledge->id was OBCLASS instead of OBTYPE.
- Repeated text:
        Minimum agility to use effectively: 50 to use.Minimum agility to use
        effectively: 50 to use. (bonus at 70).
- change wish text to be more meaningful
- fix failure when loading objects with a bonus from vaults/bones (eg. blessed '+5' sword)
- when raging, don't prompt to really attack when you won't gain xp
- disable flagpile checks
- Use 'interact' to use shops, not 'operate'
- Bad text: You are resistant to: projectiles[-7870t], explosives[-7870t].
- scorpions shouldn't follow you up stairs. (but giant scorpions can)
- make failed relinkob() calls return the original object rather than null, otherwise we get situations where an object becomes NULL and causes a crash.
- make cooking skill description show what size corpses you can cook.
- bug: potion of growth caused instadeath when reverting.
- bug: not showing monster abilites properly
- show raceclass in descriptions (/ v)
- make evasion only work if you're not exhausted
- Felix should be pleased by attacking people while hidden
- Not seeing felix angered messages when donating items
- Holes in roof - you now need to climb to inspect them.
- Fixed crash when hitting @ while producing light.
2016-05-31 00:21:12 +10:00
Rob Pearce 2f80d6ba05 - [+] rewrite gettrrange()
- [+] reduce chances of dulling weapon from hitting things
- [+] crash during save. other save/load fixes.
- [+] simplify xp value calculation.
- [+] fixes for checks to see whether cells are diggable using "dig"
      spell.
- [+] fix shop closed bug - "we are closed" text not appearing.
- [+] sound code mods - should no longer ever hear "muffled slithering"
      (since slithering should be too soft to travel through walls)
- [+] undead will no longer try to heal via resting (since they can't).
2013-01-03 04:39:34 +00:00
Rob Pearce d89e93f64e - [+] tech is now uncommon, not rare.
- [+] bug: crash when linking to map entry objects
- [+] removed some material-based damage immunities
- [+] at night you shouldn't hear "a cash register chiming".
- [+] increase hp of chests
- [+] filling empty flask from potion of fshy lungs resulted in potion
      of water!
- [+] don't take migraine damage from light if your'e blind.
2012-12-31 05:10:13 +00:00