removes center of mass list (#17064)

* removes center of mass list

* .

* .

* fix that icon

* .
This commit is contained in:
Kashargul
2025-02-05 14:06:59 -05:00
committed by GitHub
parent f9bcaaae6a
commit 3d9113eae3
42 changed files with 1400 additions and 710 deletions
@@ -313,7 +313,8 @@
desc = "A desk lamp with an adjustable mount."
icon_state = "lamp"
force = 10
center_of_mass = list("x" = 13,"y" = 11)
center_of_mass_x = 13
center_of_mass_y = 11
light_range = 5
w_class = ITEMSIZE_LARGE
power_use = 0
@@ -332,14 +333,16 @@
/obj/item/flashlight/lamp/green
desc = "A classic green-shaded desk lamp."
icon_state = "lampgreen"
center_of_mass = list("x" = 15,"y" = 11)
center_of_mass_x = 15
center_of_mass_y = 11
light_color = "#FFC58F"
// clown lamp
/obj/item/flashlight/lamp/clown
desc = "A whacky banana peel shaped lamp."
icon_state = "bananalamp"
center_of_mass = list("x" = 15,"y" = 11)
center_of_mass_x = 15
center_of_mass_y = 11
/*
+2 -1
View File
@@ -14,7 +14,8 @@
origin_tech = list(TECH_MATERIAL = 1)
icon = 'icons/obj/stacks.dmi'
randpixel = 7
center_of_mass = null
center_of_mass_x = 0
center_of_mass_y = 0
var/list/datum/stack_recipe/recipes
var/singular_name
var/amount = 1
@@ -25,7 +25,8 @@
icon = 'icons/obj/boxes.dmi'
icon_state = "box"
item_state = "syringe_kit"
center_of_mass = list("x" = 13,"y" = 10)
center_of_mass_x = 13
center_of_mass_y = 10
var/foldable = /obj/item/stack/material/cardboard // BubbleWrap - if set, can be folded (when empty) into a sheet of cardboard
var/trash = null // if set, can be crushed into a trash item when empty
max_w_class = ITEMSIZE_SMALL
@@ -52,7 +52,8 @@
icon_state = "eggbox"
icon_type = REAGENT_ID_EGG
name = "egg box"
center_of_mass = list("x" = 16,"y" = 7)
center_of_mass_x = 16
center_of_mass_y = 7
storage_slots = 12
can_hold = list(
/obj/item/reagent_containers/food/snacks/egg,
@@ -33,7 +33,8 @@ var/list/random_weighted_donuts = list(
icon_state = "donutbox"
name = "donut box"
desc = "A box that holds tasty donuts, if you're lucky."
center_of_mass = list("x" = 16,"y" = 9)
center_of_mass_x = 16
center_of_mass_y = 9
max_storage_space = ITEMSIZE_COST_SMALL * 6
can_hold = list(/obj/item/reagent_containers/food/snacks/donut)
foldable = /obj/item/stack/material/cardboard
@@ -100,4 +101,4 @@ var/list/random_weighted_donuts = list(
/obj/item/storage/box/wormcan/deluxe/update_icon(var/itemremoved = 0)
if (contents.len == 0)
icon_state = "wormcan_empty_deluxe"
icon_state = "wormcan_empty_deluxe"
@@ -7,7 +7,8 @@
icon = 'icons/obj/storage_vr.dmi'
icon_state = "red"
item_state_slots = list(slot_r_hand_str = "toolbox_red", slot_l_hand_str = "toolbox_red")
center_of_mass = list("x" = 16,"y" = 11)
center_of_mass_x = 16
center_of_mass_y = 9
force = 10
throwforce = 10
throw_speed = 1
@@ -7,7 +7,8 @@
description_fluff = "This could be used to engrave messages on suitable surfaces if you really put your mind to it! Alt-click a floor or wall to engrave with it." //This way it's not a completely hidden, arcane art to engrave.
icon = 'icons/obj/tools.dmi'
icon_state = "screwdriver"
center_of_mass = list("x" = 13,"y" = 7)
center_of_mass_x = 13
center_of_mass_y = 7
slot_flags = SLOT_BELT | SLOT_EARS
force = 6
w_class = ITEMSIZE_TINY
@@ -8,7 +8,8 @@
icon = 'icons/obj/tools.dmi'
icon_state = "cutters"
item_state = "cutters"
center_of_mass = list("x" = 18,"y" = 10)
center_of_mass_x = 18
center_of_mass_y = 10
slot_flags = SLOT_BELT
force = 6
throw_speed = 2
+2 -1
View File
@@ -13,7 +13,8 @@
icon_state = "beartrap0"
desc = "A mechanically activated leg trap. Low-tech, but reliable. Looks like it could really hurt if you set it off."
randpixel = 0
center_of_mass = null
center_of_mass_x = 0
center_of_mass_y = 0
throwforce = 0
w_class = ITEMSIZE_NORMAL
origin_tech = list(TECH_MATERIAL = 1)