Commit Graph

282 Commits

Author SHA1 Message Date
rob b2bfca3ca1 Fix crash in linkexit() 2022-08-27 22:50:13 +10:00
rob 81c033d7dc Removed sprintf() usage
Now conpiles properly on linux again
2022-08-27 21:38:56 +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 9456fba0f7 healthy food has a chance of curing poison 2019-08-20 18:19:13 +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 6610dfed88 Rewrite weild() to do all prompts to remove stuff in the way before actually removing anything. 2016-07-07 12:30:04 +10:00
Rob Pearce d5254e25aa If you can meditate, don't prevent resting while caffienated.
Clarify args and description of gotosleep() vs. fallasleep()
2016-07-07 12:13:08 +10:00
Rob Pearce 43c20fbbaf bugfix: racial abilities now work properly after polymorph 2016-07-07 12:02:50 +10:00
Rob Pearce e4cdde4f98 Worsen penalties for not meeting weapon requirements 2016-07-04 22:44:07 +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 e4c3716387 Tidy up code around modification of player stats by god piety. 2016-06-21 21:37:19 +10:00
Rob Pearce 11a3abc76b - can no longer avoid migraine damage by having LOS to the source of sounds.
- migraines now only cause pain with volume >= heavy_footsteps
- migraines now work on monsters, too.
2016-06-20 21:07:15 +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 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 0b76162f5f getrandomracewithflag() now works. 2016-06-13 23:23:11 +10:00
Rob Pearce efdbd3fe40 Insects resist cold. 2016-06-13 21:42:05 +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 c1f8bdcc9d Remove "dissolved" killverb for acid - doesn't make sense. 2016-06-09 11:46:31 +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 a4735d597c MAke object weight functions more meaningful - getobmass() and getobweight() 2016-06-09 10:51:55 +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 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 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 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 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 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 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 4880eb6292 psionics shouldn't count as magic for purposes of making gods angry 2016-05-31 16:43:43 +10:00
Rob Pearce 973040c4e7 - make animate dead zombies more powerful.
- remote pet flag before writing lfs to bones file

- don't show 'you feel worried' for undead

- make pets always be able to hear you.
2016-05-31 15:36:37 +10:00
Rob Pearce cb31db8fff When selecting job, show recommendations based on race. 2016-05-31 14:37:08 +10:00
Rob Pearce 7fa750baef - Skillcheck on tumble was way too hard (was missing multiplier) 2016-05-31 00:53:28 +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
Rob Pearce 7706dd8360 - Insects and aquatic creatures no longer slip. 2016-05-31 00:44:47 +10:00
Rob Pearce bc631d8657 - Removing todo file.
- Remove duplicate vault file.
- Stunned monsters should now correclty stop flying.
2016-05-31 00:40:43 +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