Page 1 of 1

[Command] modifySalary

Posted: Wed Nov 03, 2021 5:42 pm
by Raddeck
Actor.modifySalary(Float)


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