]> git.smokeofanarchy.ru Git - space-station-14.git/commit
NPC spiders sometimes spin webs 🕷️🕸️ (#38319)
authorqwerltaz <69696513+qwerltaz@users.noreply.github.com>
Thu, 17 Jul 2025 16:34:00 +0000 (18:34 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Jul 2025 16:34:00 +0000 (12:34 -0400)
commitaffcc2278481572f012407c278c055077f02bff0
tree8d751d1b9ae580ef688c4f234e6e6b90408fe6a6
parent89fa7c2914962af6ca3a43194d9d3f46a25c6b09
NPC spiders sometimes spin webs 🕷️🕸️ (#38319)

* NPC spiders now spin webs

* oops

* move logic to always update next spawn, to prevent rare web spam

* WebSpawnCooldown is timespan

* remove vv

* add web spawn method, no sus action event method call

* dont spin web immediately at spawn

* move NextWebSpawn value init to update

* oop

* remove unused game timing

* web spawn cooldown to 45
Content.Server/Spider/SpiderSystem.cs
Content.Shared/Spider/SpiderComponent.cs
Resources/Prototypes/Entities/Mobs/NPCs/pets.yml