generated from simtactics/ts4-workspace
Initial commit
This commit is contained in:
commit
e4d291a1a1
17 changed files with 3220 additions and 0 deletions
7
My Script Mods/Example Mod/Scripts/example_mod.py
Normal file
7
My Script Mods/Example Mod/Scripts/example_mod.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
import sims4.commands
|
||||
|
||||
|
||||
@sims4.commands.Command('myfirstscript', command_type=sims4.commands.CommandType.Live)
|
||||
def myfirstscript(_connection=None):
|
||||
output = sims4.commands.CheatOutput(_connection)
|
||||
output("This is my first script mod")
|
5
My Script Mods/Example Mod/compile.py
Normal file
5
My Script Mods/Example Mod/compile.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from Utilities import compile_module
|
||||
from settings import *
|
||||
|
||||
root = os.path.dirname(os.path.realpath('__file__'))
|
||||
compile_module(creator_name, root, mods_folder)
|
Loading…
Add table
Add a link
Reference in a new issue