Skip to content

Commit

Permalink
add a reminder comment for later
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy committed Jan 10, 2025
1 parent 6acb103 commit e175cef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions monkestation/code/game/objects/structures/trash_pile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
var/item_to_spawn = prob(0.1) ? pick(GLOB.oddity_loot) : pick_weight_recursive(GLOB.trash_pile_loot)
var/obj/item/spawned_item = new item_to_spawn(drop_location())
var/turf/throw_at = get_ranged_target_turf_direct(src, user, 7, rand(-60, 60))
// this can totally be changed to use /datum/component/movable_physics to make it way more fun and expressive, but i can't be bothered to figure out good velocity/friction values right now
if(spawned_item.safe_throw_at(throw_at, rand(2, 4), rand(1, 3), user, spin = TRUE))
playsound(src, 'sound/weapons/punchmiss.ogg', 10)

Expand Down

0 comments on commit e175cef

Please sign in to comment.