Commit Graph

107 Commits

Author SHA1 Message Date
metalgearsloth
e97e7f8137 Revert "Add pathfinding for dynamic bodies" (#18397) 2023-07-28 19:58:31 +10:00
Vordenburg
49f3f07e30 Add pathfinding support for NPCs climbing tables (#17415) 2023-07-28 16:37:29 +10:00
Vordenburg
494b9e5b93 Add pathfinding for dynamic bodies (#17416)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-07-28 16:28:00 +10:00
deltanedas
063f75ca29 let animals drink things (#18236)
* thirst .Owner removal

* thirst file scope

* drink update + minor refactor

* drink file scope

* let animals drink things

* dont eat/drink when dont need to

* admeme mouse override

* moo

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-07-25 15:32:10 -06:00
Leon Friedrich
541eb417e3 Rename Faction to NpcFaction (#18079) 2023-07-17 13:51:52 +10:00
Arendian
040cfe3aae Medibot Fix (#18063) 2023-07-15 13:59:45 -06:00
metalgearsloth
c43db830ea Significantly improve NPC steering (#17931) 2023-07-14 00:48:04 +10:00
metalgearsloth
b4033d557b NPC steering tweaks (#17911)
- Slightly less twitchy in melee.
- Resteer less.
- More aggressive in pursuing running away targets.
2023-07-09 13:20:20 -06:00
metalgearsloth
68480af109 Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
metalgearsloth
876beb9369 Stop NPC smashing if it fails (#17847) 2023-07-06 14:42:17 +10:00
metalgearsloth
c2e5990c2e Fix NPC assert (#17770) 2023-07-01 23:38:14 +10:00
metalgearsloth
cca1a78384 Dungeon generation refactor (#17121) 2023-06-27 19:17:42 +10:00
metalgearsloth
8a28d7bc70 Bagel fix (#17514) 2023-06-21 09:19:15 +10:00
metalgearsloth
23b6d87a79 Hotfix NPC pathfinding (#17360) 2023-06-16 01:01:26 +10:00
deltanedas
6ce6aa117f make mice not eat uranium bananium and pills (#17110)
Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-06-15 22:35:11 +10:00
Vordenburg
620678df98 Flip curTime and NextUpdate in UpdateGrid (#17306) 2023-06-14 10:37:51 +10:00
Nemanja
37d3056809 Events all over melee (#16997) 2023-06-07 13:26:45 -07:00
metalgearsloth
5b1af38277 More NPC steering fixes (#17042) 2023-06-02 00:28:23 +10:00
metalgearsloth
a9e723a93f Fix NPC static avoidance (#17039) 2023-06-01 23:11:39 +10:00
metalgearsloth
f308a1b31e Fix cleanbots (#16922) 2023-05-29 16:53:28 +10:00
metalgearsloth
cd487b66e4 Content mapmanager query changes (#16894) 2023-05-28 23:22:44 +10:00
deltanedas
5c98b350a2 megafauna elimination mission and fish salv faction (#16720)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-05-25 22:23:20 +10:00
Moony
e92a8fedab Refactor stations to properly use entity prototypes. (stationsv3) (#16570)
* Update StationSpawningSystem.cs

Web-edit to allow feeding in an existing entity.

* Update StationSpawningSystem.cs

value type moment

* Update StationSpawningSystem.cs

* Oh goddamnit this is a refactor now.

* awawawa

* aaaaaaaaaaa

* ee

* forgot records.

* no records? no records.

* What's in a name?

* Sloth forcing me to do the refactor properly smh.

* e

* optional evac in test.

* tests pls work

* awa

---------

Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
2023-05-19 15:45:09 -05:00
metalgearsloth
befb0900cf Proximity beeper optimisation (#16507) 2023-05-17 23:55:25 +10:00
metalgearsloth
66ae137b70 Tie NPC services to plans (#16451) 2023-05-15 16:18:18 +10:00
Leon Friedrich
263e1761fc Move jobQueue to engine (#16443) 2023-05-15 12:47:12 +10:00
deltanedas
1ca9328c15 fix fish petting (#16094)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-05-05 23:03:46 +10:00
20kdc
ad76739cc3 Refactor: Chat transmission ranges (+ a little preparation for downstream fork functionality) (#16026) 2023-05-04 12:08:08 -07:00
Kara
133cbcbe88 Special digestion & kudzu-eating (#16061) 2023-05-04 12:49:25 +10:00
deltanedas
aceb354945 emag medibot to make it poison patients (#15377)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-05-02 18:00:57 +10:00
metalgearsloth
ca07522c03 NPC utility queries (#15843) 2023-05-01 14:57:11 -04:00
metalgearsloth
638009f5d3 Cleanbot tweaks (#15821) 2023-05-02 00:30:15 +10:00
AJCM-git
878c7c0b85 Moves buckling and vehicles to shared, some cleanup (#15923) 2023-05-01 17:04:23 +10:00
metalgearsloth
d51d74d934 Content fixes for timeoffsets (#15934) 2023-05-01 14:49:25 +10:00
metalgearsloth
ab9b5ac0b2 Remove deprecated NPC debug buttons (#15824) 2023-04-29 16:47:10 +10:00
metalgearsloth
fda607b2f6 Fix NPC awake assert (#15783) 2023-04-25 22:33:13 +10:00
metalgearsloth
9361b0b469 NPC obstacle fixes (#15645) 2023-04-22 18:57:19 +10:00
metalgearsloth
e780c6a98a Fix NPC door prying (#15605) 2023-04-21 15:05:29 +10:00
metalgearsloth
122350f19c Salvage expeditions (#12745) 2023-04-20 10:43:13 +10:00
deltanedas
457af3ee30 pet dehydrated fish to make him nice to you (#14709)
* petting fish to make him nice to you

* fix fishe, refactor a bit

* fishe

* pro

* feedback, for now

* refactor

* pro

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-04-13 18:17:25 -07:00
metalgearsloth
3840255ebb Fix thindow pathing (#15349) 2023-04-12 23:50:07 +10:00
DrSmugleaf
34bcd042d1 Remove combat mode component reference (#15206) 2023-04-08 13:16:48 -07:00
metalgearsloth
9b616784ed Fix NPC arrival distance for nodes (#15193) 2023-04-07 20:54:20 +10:00
Leon Friedrich
19277a2276 More DoAfter Changes (#14609)
* DoAfters

* Compact Clone()

* Fix mice and cuffables

* Try generalize attempt events

* moves climbabledoafter event to shared, fixes issue with climbable target

* Fix merge (cuffing)

* Make all events netserializable

* handful of doafter events moved

* moves the rest of the events to their respective shared folders

* Changes all mentions of server doafter to shared

* stop stripping cancellation

* fix merge errors

* draw paused doafters

* handle unpausing

* missing netserializable ref

* removes break on stun reference

* removes cuffing state reference

* Fix tools

* Fix door prying.

* Fix construction

* Fix dumping

* Fix wielding assert

* fix rev

* Fix test

* more test fixes

---------

Co-authored-by: keronshb <keronshb@live.com>
2023-04-02 21:13:48 -04:00
metalgearsloth
b5a33ea7ab Avoid NPCs getting stuck around tables (#14807) 2023-03-23 23:53:17 +11:00
metalgearsloth
4151b31b31 Clear cached NPC factions on refresh (#14762) 2023-03-22 15:58:23 +11:00
metalgearsloth
e93d5113ad Remove .Owner from melee weapons (#14600) 2023-03-12 15:56:05 +11:00
metalgearsloth
330bb7bb14 Remove gun .Owners (#14585) 2023-03-11 20:08:22 +11:00
metalgearsloth
6157dfa3c0 Salvage dungeons (#14520) 2023-03-10 16:41:22 +11:00
metalgearsloth
28dbbbb734 Add NPC stuck detection (#14410) 2023-03-05 16:13:09 +11:00