mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
[FRAMEWORK / SPRITES] Species Specific Augments (Robotic Limbs) - Phase 1 - Vox (#25795)
* Adds framework for species specific augments. Adds shellguard vox augment * Hesphiastos vox augments done. * Fixes heph not loading properly. * Update to hesphiastos * Updates hesphiastos and adds wardtakashi. Also sets the default for all vox augments to ward * Defaults to ward * Update code/modules/surgery/organs/organ_external.dm Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Signed-off-by: Spaghetti-bit <60483458+Spaghetti-bit@users.noreply.github.com> --------- Signed-off-by: Spaghetti-bit <60483458+Spaghetti-bit@users.noreply.github.com> Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
@@ -831,7 +831,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
AddComponent(/datum/component/surgery_initiator/limb, forced_surgery = /datum/surgery/reattach_synth)
|
||||
|
||||
if(company && istext(company))
|
||||
set_company(company)
|
||||
set_company(company, owner.dna.species.sprite_sheet_name)
|
||||
|
||||
limb_flags |= CANNOT_BREAK
|
||||
get_icon()
|
||||
@@ -841,11 +841,14 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
|
||||
|
||||
|
||||
/obj/item/organ/external/proc/set_company(company)
|
||||
/obj/item/organ/external/proc/set_company(company, species_sheet_name)
|
||||
model = company
|
||||
var/datum/robolimb/R = GLOB.all_robolimbs[company]
|
||||
if(R)
|
||||
force_icon = R.icon
|
||||
if(length(R.sprite_sheets)) // Species specific augmented limbs
|
||||
force_icon = R.sprite_sheets[species_sheet_name]
|
||||
else
|
||||
force_icon = R.icon
|
||||
name = "[R.company] [initial(name)]"
|
||||
desc = "[R.desc]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user