Hey! Are you bad at making your own code in Blitz3D? Are YOU desperate to rename the item in SCP:CB without wasting your weeks and/or months renaming the Gas Mask to
FEAR NOT! Here is a quick and simple code that will make it BEYOND easy to turn "Origami" into "Little friend"
Alright, lets get to it!
INSTRUCTIONS
SEE THAT?! I made that word as fucking huge as I can to grab your attention, especially you; "TL:DR"s.
Alright, enough bullshit.
Step 1:
In Main.bb, put this anywhere you want as long as it doesn't conflict with other existing functions. (Preferably, put it at the very top.)
Code: Select all
Function InvName$(inputName$)
Select inputName
Case "Some SCP-420-J" ;item's old name (case-sensitive)
Return "Weed" ;item's new name
;add some more cases here
Default
Return inputName
End Select
End Function
You're not done yet. Just this piece of code alone won't work if you don't do step 2.
Step 2:
Find this somewhere in Main.bb
Code: Select all
Color 0,0,0
Text(x + width / 2 + 1, y + height + spacing - 15 + 1, Inventory(n)\name, True)
Color 255, 255, 255
Text(x + width / 2, y + height + spacing - 15, Inventory(n)\name, True)
Code: Select all
Color 0,0,0
Text(x + width / 2 + 1, y + height + spacing - 15 + 1, InvName(Inventory(n)\name), True)
Color 255, 255, 255
Text(x + width / 2, y + height + spacing - 15, InvName(Inventory(n)\name), True)