2024-11-10 01:10:02 +00:00
extends SceneBase
func _init ( ) :
sceneID = " PlayerCellLamiaPortraitScene "
#func _reactInit():
# endScene()
# return
func _run ( ) :
if ( state == " " ) :
2024-12-20 18:32:08 +00:00
saynn ( " You can choose to put artwork on the wall of your cell if you ' d like to. " )
2024-12-27 10:57:11 +00:00
if ( getModuleFlag ( " IssixModule " , " Lamia_Chosen_Drawing " ) == " simplepc " and getModuleFlag ( " IssixModule " , " PC_Saw_Artwork_At_Lamias " , null ) == false ) :
2024-12-20 18:32:08 +00:00
addButton ( " Put artwork " , " Put your simplistic artwork enchanted by Lamia on your wall " , " putsimple " )
if getModuleFlag ( " IssixModule " , " Received_Portrait_From_Lamia " , false ) :
addButton ( " Put artwork " , " Put the portrait on your wall " , " putportrait " )
addButton ( " Don ' t put " , " Don ' t hang your portrait on the wall (won ' t ask in the future) " , " dontput " )
addButton ( " Ignore " , " Don ' t do anything with it for now " , " endthescene " )
2024-11-10 01:10:02 +00:00
2024-12-20 18:32:08 +00:00
if state == " putsimple " :
saynn ( " You grab the piece of paper with your artwork on it, find a tape in your stash and hang it on the wall. It will remind you of your old place. " )
addButton ( " Back " , " Job well done " , " endthescene " )
2024-11-10 01:10:02 +00:00
if ( state == " putportrait " ) :
saynn ( " You grab your portrait you got from Lamia, find some scraps of a tape in your stash and hang it on the wall. It looks wonderful. Reminds you of a great moment you shared with Lamia... And shows everyone who comes near who ' s cell it is. " )
addButton ( " Back " , " Job well done " , " endthescene " )
if state == " dontput " :
saynn ( " You grab your portrait you got from Lamia and stash it. " )
addButton ( " Back " , " Job well done " , " endthescene " )
func _react ( _action : String , _args ) :
2024-12-20 18:32:08 +00:00
if _action == " dontput " :
setModuleFlag ( " IssixModule " , " Placed_Portrait_In_Cell " , false )
if _action == " putportrait " :
setModuleFlag ( " IssixModule " , " Placed_Portrait_In_Cell " , true )
if _action == " putsimple " :
setModuleFlag ( " IssixModule " , " PC_Saw_Artwork_At_Lamias " , true )
2024-11-10 01:10:02 +00:00
if ( _action == " endthescene " ) :
endScene ( )
return
setState ( _action )