create and edit modd.io games in python
Project description
pymodd is a python package for creating and editing modd.io games in python
Features
edit global and entity scripts
organize folders and scripts with a mapping file
edit environment variables
a command to generate and compile a pymodd project
Documentation
The pymodd wiki is located at github.com/jeff5343/pymodd/wiki
A brief outline of the wiki:
Quick Script Example
view the examples/froge directory for an example of a pymodd project
@script(triggers=[Trigger.EVERY_SECOND])
def every_second():
if NumberOfUnitsOfUnitType(UnitType.FROG) < 5:
create_unit_for_player_at_position_with_rotation(UnitType.FROG, Variable.AI, RandomPositionInRegion(EntireMapRegion()), 0)
else:
if NumberOfUnitsOfUnitType(UnitType.FROG_BOSS) == 0:
if Variable.BOSS_TIMER <= 0:
create_unit_for_player_at_position_with_rotation(UnitType.FROG_BOSS, Variable.AI, RandomPositionInRegion(EntireMapRegion()), 0)
update_ui_target_for_player_for_miliseconds(UiTarget.CENTER, 'BOSS SPAWNED', Undefined(), 5000)
decrease_variable_by_number(Variable.BOSS_TIMER, 1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pymodd-1.0.1.tar.gz
(79.4 kB
view hashes)
Built Distributions
pymodd-1.0.1-cp311-none-win_amd64.whl
(373.2 kB
view hashes)
pymodd-1.0.1-cp311-none-win32.whl
(362.1 kB
view hashes)
pymodd-1.0.1-cp310-none-win_amd64.whl
(373.2 kB
view hashes)
pymodd-1.0.1-cp310-none-win32.whl
(362.2 kB
view hashes)
pymodd-1.0.1-cp39-none-win_amd64.whl
(373.2 kB
view hashes)
pymodd-1.0.1-cp39-none-win32.whl
(362.1 kB
view hashes)
pymodd-1.0.1-cp38-none-win_amd64.whl
(372.9 kB
view hashes)
pymodd-1.0.1-cp38-none-win32.whl
(361.6 kB
view hashes)
Close
Hashes for pymodd-1.0.1-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d8de4baaade2e216e6294e3215fbb2ba756474ff50a031d8b1eeaa75fef54db |
|
MD5 | 2c81bebd38363e24b2d5f9b9e089b5ea |
|
BLAKE2b-256 | 03a85582a78ed862d577481ff9873d755ba2a1b3da5c56f1391108cf04b0cb9f |
Close
Hashes for pymodd-1.0.1-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3c9a8adf4ffa41a5b99ac5e3f5c23b7dfb3eeb1aa859ec7390553cc803c5e71 |
|
MD5 | a93f38376d01f9997ccbd51eef23db5f |
|
BLAKE2b-256 | 910ee6031caee3f17cf15c0e14e758e57bb928626c94221f0351ab0115e1432a |
Close
Hashes for pymodd-1.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f273e80e73d46f9e45768363b72051371bc776723744e17e6673e25a9d97211 |
|
MD5 | 41a78d8f2d1ec4c0fdbe403bcb03e255 |
|
BLAKE2b-256 | ce6679880834c72148ec1baf7a2c1f373c9d4594dd10f4980e4f58c0dfe0a86e |
Close
Hashes for pymodd-1.0.1-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 411436725a6ab95f62793b7ffa297bdf8848627e7b1e480ec9909c941369b63a |
|
MD5 | 482bb31377bb02aa41a484d7af6edae6 |
|
BLAKE2b-256 | b09a580647e14350a779c5d45da7badb718bcdaa1ce86c99f42cf16d002c699a |
Close
Hashes for pymodd-1.0.1-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fbc8c6dde1b068d359333326171c9f9c1870b595ddd89862d70c86339279c53 |
|
MD5 | 7fddcd5ca6fcd37fa178c7b99921face |
|
BLAKE2b-256 | ab0da94a663b5f27e22cb63e2983b83fd8e73371911b9a9f69b2d7510335c336 |
Close
Hashes for pymodd-1.0.1-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58b4546d072432fa78b311c129ddcd147e0c2d7d0d4d31f0de69c02f9ade92eb |
|
MD5 | 769eb999557feb058f5f685cd137f214 |
|
BLAKE2b-256 | 2c91b24c2a1b4b1c696613277f891ce234528e2b186565370b6307dc894144f1 |
Close
Hashes for pymodd-1.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4edac3254b33eda30b30356dd5cdffb2980c4d1973811777a24ac4a7082e66b0 |
|
MD5 | ecac015595b94022be8c467c31531827 |
|
BLAKE2b-256 | 26aa9f3b024673cbd994ab34204d2bcaf009ddc27d02483d7e3eac54dc02c91d |
Close
Hashes for pymodd-1.0.1-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5254c4b29fc36e9667be2d4b4ce3c9854ed7bd2be6d6068242a14494d765fc2a |
|
MD5 | e2029a23c45be3ac974ef9a4129c6da9 |
|
BLAKE2b-256 | fcf1425c82db037d1f055d2f87808c72c026b30d582b0c5be17e5f40f86b7375 |
Close
Hashes for pymodd-1.0.1-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8117a582df9dfb573521eed86f62180fa7971e60cbc7044ccad27fd477254b93 |
|
MD5 | 2e714fc323601484c3b759a661f06e30 |
|
BLAKE2b-256 | aca66a7eb2d943c5ca51dd19970deddd0f2eedb884b796aec391373a095865bb |
Close
Hashes for pymodd-1.0.1-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dd41936a7f6ef6418919982572a122327aa10915b3f5087de86af58c0b3e3ff |
|
MD5 | 1946a83866882338990037cf12c4094c |
|
BLAKE2b-256 | f6d1ab183a49666b93bca48ec1db70656de137ebd132ce8791fd3a6eeed2032a |
Close
Hashes for pymodd-1.0.1-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a23ae648ff473223b01526a3644fba84e1fcc6b684b0fff88b572adf9a6e7de7 |
|
MD5 | f408ccb4357e08d3c0abcdb4f3a785cd |
|
BLAKE2b-256 | 6f948f41357a68b0bea5fa58977b492752bcce0ed230a4b64c2adbdc5c7fa57f |
Close
Hashes for pymodd-1.0.1-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd1075970c2f82a9db958ec39de4f26cc56d06e92a022dedf71d49bf43f7a3a7 |
|
MD5 | 8f430e0a094a7e85fdb1287e8982a376 |
|
BLAKE2b-256 | 6b7105a9d345707d2c6feef48f09052cf87b59777c45223e865493b4e6bc5c99 |