camera bugs now stick to things they're thrown at (#24053)

* Implements camera fu

* camera bugs now stick on things they're thrown at

* removes dupe code
This commit is contained in:
GDN
2024-02-17 13:30:34 -06:00
committed by GitHub
parent 6a5b26d56a
commit 883fd6881d
5 changed files with 26 additions and 5 deletions
+2 -1
View File
@@ -697,7 +697,8 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
return
if(thrown_thing)
visible_message("<span class='danger'>[src] has thrown [thrown_thing].</span>")
if(!HAS_TRAIT(thrown_thing, TRAIT_NO_THROWN_MESSAGE))
visible_message("<span class='danger'>[src] has thrown [thrown_thing].</span>")
newtonian_move(get_dir(target, src))
thrown_thing.throw_at(target, thrown_thing.throw_range, thrown_thing.throw_speed, src, null, null, null, move_force)