Commit Graph

130 Commits

Author SHA1 Message Date
metalgearsloth
edbfef22d6 Climbing refactor (#20516) 2023-10-10 16:41:11 -07:00
Nemanja
02df8cd263 Add mob retaliation (#19901) 2023-10-06 17:56:18 -07:00
nikthechampiongr
5ff79120e6 EasyPry airlocks for arrivals. Now also prying refactor I guess (#19394)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-09-28 21:34:21 +10:00
deltanedas
b7cff81587 Openable refactor (#19750) 2023-09-22 22:10:04 -04:00
Nemanja
f16ff3a2d9 Rat King Milsim + Buffs (#20190)
* rat king update

* rummaging

* buuuuunnnnncccchhh of shit

* the last of it

* make rat servants not ghost roles

* pissma buff and cooldown
2023-09-22 15:01:05 -05:00
Morb
8bcab77bc4 Disable SSD indicator for NPC (#20027)
* Make ActiveNPCComponent shared

* Check if entity have ActiveNPC component

* Make networked

* Fix path

* fix
2023-09-14 22:15:26 -04:00
metalgearsloth
5a0fc68be2 Content update for NetEntities (#18935) 2023-09-11 09:42:41 +10:00
metalgearsloth
db1ff07821 Weldable cleanup (#19809) 2023-09-05 00:07:01 +10:00
metalgearsloth
e9a4b1c747 Fix NPC juke stuttering (#19805) 2023-09-03 21:34:20 -07:00
metalgearsloth
d1174827fb Fix NPC steering log (#19622) 2023-08-29 16:11:58 +10:00
metalgearsloth
7dbd8f8b7a Add TryGetNpc (#19553) 2023-08-26 13:45:29 +10:00
DrSmugleaf
321986d5cc Fixed trying to resolve unregistered NPCComponent type, fix NPCs (#19547) 2023-08-25 14:52:23 -07:00
metalgearsloth
b5afb96bbd Remove HTN ComponentReference (#19480) 2023-08-25 17:05:21 +10:00
Visne
c7b21b631b Remove unused dependencies (#19490) 2023-08-24 09:55:15 -08:00
metalgearsloth
4a7bb270a0 Remove preprocessor flags for NPC logs (#19281) 2023-08-19 00:15:26 +10:00
metalgearsloth
cc5d83fe21 Pathfinder parallel change (#18736) 2023-08-06 14:41:57 +10:00
metalgearsloth
d3aece12cb Lookup changes (#18416) 2023-08-06 12:44:05 +10:00
Vordenburg
298623df4a Add ClearFactions API (#18719) 2023-08-05 13:54:43 -07:00
metalgearsloth
868f3298e5 Xeno spitter fixes (#18573)
* Xeno spitter fixes

- Require hands for pickup compounds
- Ranged combat can force movement to ignore LOS checks if ranged wants better LOS.

* Also spirates

IDK how this worked before but TryGetGun shouldn't care about combatmode.

* 1 more
2023-08-02 15:34:54 -06:00
metalgearsloth
c31c848afd Shooting NPCs and more (#18042)
* Add pirate shooting

* Shooting working

* Basics working

* Refactor time

* More conversion

* Update primitives

* Update yml

* weh

* Building again

* Draft

* weh

* b

* Start shutdown

* Starting to take form

* Code side done

* is it worky

* Fix prototypes

* stuff

* Shitty working

* Juke events working

* Even more cleanup

* RTX

* Fix interaction combat mode and compquery

* GetAmmoCount relays

* Fix rotation speed

* Juke fixes

* fixes

* weh

* The collision avoidance never ends

* Fixes

* Pause support

* framework

* lazy

* Fix idling

* Fix drip

* goobed

* Fix takeover shutdown bug

* Merge fixes

* shitter

* Fix carpos
2023-08-01 19:48:56 -05:00
Vordenburg
49f3f07e30 Add pathfinding support for NPCs climbing tables (#17415) 2023-07-28 16:37:29 +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
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
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
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
deltanedas
1ca9328c15 fix fish petting (#16094)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-05-05 23:03:46 +10:00
Kara
133cbcbe88 Special digestion & kudzu-eating (#16061) 2023-05-04 12:49:25 +10:00
metalgearsloth
ca07522c03 NPC utility queries (#15843) 2023-05-01 14:57:11 -04: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
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
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