mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-28 05:36:34 +01:00
refactors: inventory, mousedrag, stripping, species bodytypes, inventory HUD, and probably some unrelated things (#4092)
* start * i hate people who pack shit into one file * sigh * regex * inventory rework * stubs * regex * this is insanity * oh no * backend moment * a * changes * wild * regexing * changes * put in hands * more errorS * attackby * more helpers * replacements * wild * fixes * pain * fxies * fixes * unneeded * ape * ape * wild * wild * more * wild * there * fixes * fixes * l * wild * more * moer * fixes * enough for todayd * regexing * long time coming * shaking and crying * end me * fixes * fixes * e * fxies * rig refactor moment * fixes * fixes * fixes * fixes * out with the shitcode * thanks git * partial rig rewrite here we go * more * fixes * WWWW * ok * wild * bitfield defines * nobludgeon * pain * pain * fixes * more * wild * wild * fixes * pain * move behaviorsr * fixes * next up, finishing core procs * y * . * time to finish this * time to finish this * propagate accessories * hate this accursed engine * hate this accursed engine * pain * more * cancer * epic * genuinely hate * wild * that * why * circuitry is my bane * y * how * sort * logging * logging * im dying * fixes * next * f * more * epic style * fixes * on meta * fix * wild * uh * quirky * fixes * agh * pain * fixes * fix * sigh * a * epic1 * fixes * ugh * epic * fixes * uhh. * is this even a fix * fix * fixes * fixes * we love optimization * wear over system * correct * worn over stuff * just augments * coggy * implant magnetic catch * implant magnetic catch * fixe * a * g * t * fix * fix * wack! * fix * a * semantics * fix * that * fixes * handle denesting * w * fixes * e * bugs * fixes * fixes * unit tests * absolutely wild * fixes * fix * fix * fixes * on god this is bad * fixes * fixes * fix * fix * wacky! * fix * wack * manual * fixes * closets * OOPS * wack * pain * pain * flags * regex * fixes * wakc * changes * more * augh * more * replaces * more * that * acc * acc * fix * fix * fix * oh woops that was important * wack * epic Co-authored-by: fake_vm_user <fake_vm_user> Co-authored-by: VM_USER <VM_USER>
This commit is contained in:
co-authored by
fake_vm_user <fake_vm_user>
VM_USER <VM_USER>
parent
154196e6c2
commit
934ad25bfe
@@ -50,10 +50,10 @@
|
||||
found = TRUE
|
||||
tesla_link = H
|
||||
if(found)
|
||||
if(!user.attempt_insert_item_for_installation(H, src))
|
||||
return
|
||||
to_chat(user, "You install \the [H] into \the [src]")
|
||||
H.holder2 = src
|
||||
user.drop_from_inventory(H)
|
||||
H.forceMove(src)
|
||||
update_verbs()
|
||||
|
||||
/// Uninstalls component. Found and Critical vars may be passed by parent types, if they have additional hardware.
|
||||
|
||||
@@ -131,9 +131,9 @@
|
||||
if(card_slot.stored_card)
|
||||
to_chat(user, "You try to insert \the [I] into \the [src], but it's ID card slot is occupied.")
|
||||
return
|
||||
user.drop_from_inventory(I)
|
||||
if(!user.attempt_insert_item_for_installation(I, src))
|
||||
return
|
||||
card_slot.stored_card = I
|
||||
I.forceMove(src)
|
||||
update_uis()
|
||||
to_chat(user, "You insert \the [I] into \the [src].")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user