Commit Graph

228 Commits

Author SHA1 Message Date
Rob Pearce 7a13dfc235 Rename mechanic role to "Engineer", increase its IQ and add chemistry+cartography skills. Odea is that it is more a "smart modern mechanical engineer" instead of "dumb greasenonkey"
Overalls shouldn't have a minimum AGI requirement

Soldering iron should not use any particular weapon proficiency.
2023-10-12 21:32:38 +11:00
Rob Pearce 0e8a26c2b7 Lower level of Perception needed to widen FOV.
Make monsters stay unconsciousness  for longer.
Make loseconsciousness() time actually work.
Merciful fighting now works more reliably (and is shown in the status bar)
2023-10-11 20:06:17 +11:00
Rob Pearce 8eb5d2af99 Gain blind-spot vision at perception=nov rather than bgn.
Fix crash when critically hitting a creature with wings/tail.
2023-10-11 13:46:11 +11:00
Rob Pearce 17461f9c24 - Show value of objects based on your skills
- Morningstar should also deal piercing damage
- potion of greed modified to detect objects based on value
- Two-hand weapons are now usable one-handed with very high STR
- Gain skill points faster
- Scimitar is now AGI based, not STR
- No eating when nauseated
2023-10-10 21:30:16 +11:00
rob 3f162673cf Add script to check for unused command letters
WIP: autoexplore code
2022-09-18 17:24:50 +10:00
rob e1507aa7d6 change reload command to v 2022-09-17 10:15:17 +10:00
rob 4f3375c58b Reduce weapon stamina cost based on proficiency.
add assertion to catch when too many skill abilities/descriptions are added
fix duplicate description on some weapon skills
2022-08-30 22:03:11 +10:00
rob 072cc96e4f Fix description of OT_TREEDOWN
If you visit a new branch before taking the regular stairs in your current branch  DON'T update nextmap[dir] to point at the new branch.
2022-08-30 20:19:48 +10:00
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