File tree Expand file tree Collapse file tree 15 files changed +165
-11
lines changed
Expand file tree Collapse file tree 15 files changed +165
-11
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ SUBSYSTEM_DEF(throwing)
3333 continue
3434 if (QDELETED (TT ))
3535 if (! QDELETED (AM ))
36- AM . end_throw()
36+ AM . end_throw(TT )
3737 processing -= AM
3838 if (MC_TICK_CHECK )
3939 return
@@ -103,7 +103,7 @@ SUBSYSTEM_DEF(throwing)
103103
104104/ datum / thrownthing/ Destroy()
105105 SSthrowing. processing -= thrownthing
106- thrownthing. end_throw()
106+ thrownthing. end_throw(src )
107107 thrownthing = null
108108 target = null
109109 thrower = null
@@ -192,7 +192,7 @@ SUBSYSTEM_DEF(throwing)
192192 if (! QDELETED (thrownthing))
193193 thrownthing. fall()
194194
195- thrownthing. end_throw()
195+ thrownthing. end_throw(src )
196196 qdel (src )
197197
198198/ datum / thrownthing/ proc / hit_atom( atom / A)
Original file line number Diff line number Diff line change 563563 appearance_flags &= ~ remove_flags
564564 return old_appearance != appearance_flags
565565
566- / atom/movable / proc / end_throw()
566+ / atom/movable / proc / end_throw( datum / thrownthing / TT )
567567 throwing = null
568568
569569/ atom/movable / proc / reset_movement_delay()
Original file line number Diff line number Diff line change 468468 return TRUE
469469 return .. ()
470470
471- / obj / item/ end_throw()
471+ / obj / item/ end_throw( datum / thrownthing / TT )
472472 . = .. ()
473473 squash_item ()
474474
Original file line number Diff line number Diff line change 4646 icon = initial(icon)
4747
4848/ obj / item/ holder/ Exited( atom/movable / am, atom / new_loc)
49- am. vis_flags = initial(am. vis_flags)
49+ if (! (locate (/ mob ) in contents))
50+ am. vis_flags = initial(am. vis_flags)
5051 . = .. ()
5152
5253/ obj / item/ holder/ proc / destroy_all()
7273 update_state ()
7374
7475/ obj / item/ holder/ dropped()
75- .. ()
76+ . = . . ()
7677 update_state (1 )
7778
7879/ obj / item/ holder/ throw_impact( atom / hit_atom, datum / thrownthing/ TT )
79- .. ()
80+ . = . . ()
8081 update_state (1 )
8182
8283/ obj / item/ holder/ proc / update_state(var /delay )
83- set waitfor = 0
84+ set waitfor = FALSE
8485
8586 for (var /mob /M in contents)
8687 unregister_all_movement (last_holder, M)
9798 mob_container. dropInto(loc)
9899 M. reset_view()
99100 qdel (src )
100- else if (last_holder != loc)
101+ return
102+
103+ if (last_holder != loc)
101104 for (var /mob /M in contents)
102105 register_all_movement (loc, M)
103106 update_icon ()
104- last_holder = loc
107+ last_holder = loc
105108
106109/ obj / item/ holder/ onDropInto(var /atom/movable /AM )
107110 if (ismob(loc)) // Bypass our holding mob and drop directly to its loc
Original file line number Diff line number Diff line change 1212#include "datum\factions.dm"
1313#include "datum\locations.dm"
1414#include "datum\religions.dm"
15+ #include "mobs\birds\_bird.dm"
16+ #include "mobs\birds\crow.dm"
17+ #include "mobs\birds\hawk.dm"
18+ #include "mobs\birds\pigeon.dm"
1519#include "plants\_plants.dm"
1620#include "plants\_plot.dm"
1721#include "plants\_subsystem.dm"
2024#include "plants\plants_fruit_template.dm"
2125#include "plants\fruit_subtypes\nightweave.dm"
2226#include "plants\plant_subtypes\nightweave.dm"
27+ #include "structures\aviary.dm"
28+ #include "undead\_undead.dm"
2329#include "undead\undead.dm"
2430#include "undead\undead_skeleton.dm"
2531#include "undead\undead_zombie.dm"
You can’t perform that action at this time.
0 commit comments