[Command] modifySalary

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post 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
Last edited by Raddeck on Wed Jun 15, 2022 6:54 pm, edited 1 time in total.
Reason: Added 1 example
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply