mirror of
https://github.com/KabKebab/GS13.git
synced 2026-03-29 15:43:14 +01:00
Ports selectable prostethic limb from Yog + quirk blacklist and two other new quirks
This commit is contained in:
@@ -1515,6 +1515,12 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
var/quirk = href_list["trait"]
|
||||
if(!SSquirks.quirks[quirk])
|
||||
return
|
||||
for(var/V in SSquirks.quirk_blacklist) //V is a list
|
||||
var/list/L = V
|
||||
for(var/Q in all_quirks)
|
||||
if((quirk in L) && (Q in L) && !(Q == quirk)) //two quirks have lined up in the list of the list of quirks that conflict with each other, so return (see quirks.dm for more details)
|
||||
to_chat(user, "<span class='danger'>[quirk] is incompatible with [Q].</span>")
|
||||
return
|
||||
var/value = SSquirks.quirk_points[quirk]
|
||||
if(value == 0)
|
||||
if(quirk in neutral_quirks)
|
||||
|
||||
Reference in New Issue
Block a user