mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-02-07 15:19:02 +00:00
Fix - Main Entries in Primary Choice Only
Ensures the first choice posed to the user is one of companies that only offer one model and single entries for companies that offer more than one model
This commit is contained in:
@@ -1505,7 +1505,8 @@ var/global/list/special_role_times = list( //minimum age (in days) for accounts
|
||||
R = new limb_type()
|
||||
if(!R.unavailable_at_chargen)
|
||||
if(limb in R.parts) //Ensures users can only choose companies that offer the parts they want.
|
||||
robolimb_companies[R.company] = R //List only main brands that have the parts we're looking for.
|
||||
if(R.has_subtypes) //Ensures singular models get added to the list as well companies that offer more than one model.
|
||||
robolimb_companies[R.company] = R //List only main brands that have the parts we're looking for.
|
||||
R = new() //Re-initialize R.
|
||||
|
||||
choice = input(user, "Which manufacturer do you wish to use for this limb?") as null|anything in robolimb_companies //Choose from a list of companies that offer the part the user wants.
|
||||
|
||||
Reference in New Issue
Block a user