[Command] modifySalary
Posted: Wed Nov 03, 2021 5:42 pm
Actor.modifySalary(Float)
USE:
Give an employee in your business an xFloat salary raise
TYPE: Command, Ref
RETURNS: /
THEME: Business
COMPARE: setSalary()
EXAMPLE:
USE:
Give an employee in your business an xFloat salary raise
TYPE: Command, Ref
RETURNS: /
THEME: Business
COMPARE: setSalary()
EXAMPLE:
Code: Select all
If Raise
"As promised, I gave <Actor.name> a 10% raise."
Actor.modifySalary(1.1)
Actor:rapportwithplayer += 5
Actor:attractiontoplayer += 5
Endif