Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
NPC1314 committed Nov 8, 2024
2 parents 891774d + f763f4f commit 8ce68aa
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 15 deletions.
2 changes: 2 additions & 0 deletions code/_onclick/item_attack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@
newforce = (newforce * user.used_intent.damfactor) * dullfactor
if(user.used_intent.get_chargetime() && user.client?.chargedprog < 100)
newforce = newforce * 0.5
if(!(user.mobility_flags & MOBILITY_STAND))
newforce *= 0.5
// newforce is rounded upto the nearest intiger.
newforce = round(newforce,1)
//This is returning the maximum of the arguments meaning this is to prevent negative values.
Expand Down
8 changes: 4 additions & 4 deletions code/game/objects/items/rogueitems/dmusicbox.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

/obj/item/dmusicbox/attackby(obj/item/P, mob/user, params)
if(!loaded)
if(istype(P, /obj/item/reagent_containers/food/snacks/rogue/honey))
if(istype(P, /obj/item/roguecoin/gold))
loaded=TRUE
qdel(P)
update_icon()
Expand All @@ -74,9 +74,9 @@
if(world.time < lastfilechange + 3 MINUTES)
say("NOT YET!")
return
// if(!loaded)
// say("FEED ME SPIDER MILK!")
// return
if(!loaded)
say("A GOLD COIN FOR A CAROL!")
return
playsound(loc, 'sound/misc/beep.ogg', 100, FALSE, -1)
var/infile = input(user, "CHOOSE A NEW SONG", src) as null|file

Expand Down
5 changes: 0 additions & 5 deletions code/modules/clothing/head/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,6 @@
desc = ""
icon_state = "kippah"

/obj/item/clothing/head/medievaljewhat
name = "medieval Jew hat"
desc = ""
icon_state = "medievaljewhat"

/obj/item/clothing/head/taqiyahwhite
name = "white taqiyah"
desc = ""
Expand Down
17 changes: 17 additions & 0 deletions code/modules/clothing/rogueclothes/cloaks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,23 @@
allowed_sex = list(MALE, FEMALE)
allowed_race = list("human", "tiefling", "elf", "aasimar")

/obj/item/clothing/cloak/half/ComponentInitialize()
. = ..()
AddComponent(/datum/component/storage/concrete)
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
if(STR)
STR.max_combined_w_class = 3
STR.max_w_class = WEIGHT_CLASS_NORMAL
STR.max_items = 1

/obj/item/clothing/cloak/half/dropped(mob/living/carbon/human/user)
..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
if(STR)
var/list/things = STR.contents()
for(var/obj/item/I in things)
STR.remove_from_storage(I, get_turf(src))

/obj/item/clothing/cloak/half/shadowcloak
name = "stalker cloak"
desc = "A heavy leather cloak held together by a gilded pin. The pin depicts a spider with disconnected legs."
Expand Down
6 changes: 2 additions & 4 deletions code/modules/mob/living/carbon/rogfatstam.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/mob/living/proc/update_rogfat() //update hud and regen after last_fatigued delay on taking
maxrogfat = round(100 * (rogstam/maxrogstam))
if(maxrogfat < 5)
maxrogfat = 5
maxrogfat = maxrogstam / 10

if(world.time > last_fatigued + 20) //regen fatigue
var/added = rogstam / maxrogstam
Expand Down Expand Up @@ -137,7 +135,7 @@
var/matrix/skew = matrix()
skew.Scale(2)
//skew.Translate(-224,0)
var/matrix/newmatrix = skew
var/matrix/newmatrix = skew
for(var/C in hud_used.plane_masters)
var/atom/movable/screen/plane_master/whole_screen = hud_used.plane_masters[C]
if(whole_screen.plane == HUD_PLANE)
Expand Down
1 change: 0 additions & 1 deletion code/modules/vending/wardrobes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@
/obj/item/clothing/head/beanie/rasta = 1)
contraband = list(/obj/item/toy/plush/plushvar = 1,
/obj/item/toy/plush/narplush = 1,
/obj/item/clothing/head/medievaljewhat = 3,
/obj/item/clothing/suit/chaplainsuit/clownpriest = 1,
/obj/item/clothing/head/clownmitre = 1)
premium = list(/obj/item/clothing/suit/chaplainsuit/bishoprobe = 1,
Expand Down
1 change: 0 additions & 1 deletion tools/UpdatePaths/Scripts/70060_hats_repath.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@
/obj/item/clothing/head/bandana/armored : /obj/item/clothing/head/costume/pirate/bandana/armored {@OLD}
/obj/item/clothing/head/clownmitre : /obj/item/clothing/head/chaplain/clownmitre {@OLD}
/obj/item/clothing/head/kippah : /obj/item/clothing/head/chaplain/kippah {@OLD}
/obj/item/clothing/head/medievaljewhat : /obj/item/clothing/head/chaplain/medievaljewhat {@OLD}
/obj/item/clothing/head/taqiyahwhite : /obj/item/clothing/head/chaplain/taqiyah/white {@OLD}
/obj/item/clothing/head/taqiyahred : /obj/item/clothing/head/chaplain/taqiyah/red {@OLD}
/obj/item/clothing/head/sombrero : /obj/item/clothing/head/costume/sombrero {@OLD}
Expand Down

0 comments on commit 8ce68aa

Please sign in to comment.