Convert mouse and rat to basic mobs (#70728)

* Converts mice and rats to basic mobs

* Update paths

* Fixes

* Tweaks

* .

* Use helpers

* Unit test

* Correct the targeting

* Fixes the unit test?

* Fixes the unit test

* Docs

* update the path script with pr id

* Faction check tweak

* Review

* AHH
This commit is contained in:
MrMelbert
2022-10-28 08:49:17 -04:00
committed by GitHub
parent dee5f8f58a
commit 70db96c46f
46 changed files with 703 additions and 551 deletions
+1 -1
View File
@@ -55,7 +55,7 @@
user.visible_message(span_danger("[user] spits out a mouse."))
user.adjust_disgust(50)
user.vomit(10)
var/mob/living/spawned_mob = new /mob/living/simple_animal/mouse(get_turf(user))
var/mob/living/spawned_mob = new /mob/living/basic/mouse(get_turf(user))
spawned_mob.faction |= "[REF(user)]"
if(prob(50))
for(var/j in 1 to rand(1, 3))