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:
Quick Script Example
view the examples/froge directory in the github repository to view the entire 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.8.tar.gz
(81.6 kB
view hashes)
Built Distributions
pymodd-1.0.8-cp311-none-win_amd64.whl
(377.3 kB
view hashes)
pymodd-1.0.8-cp311-none-win32.whl
(365.1 kB
view hashes)
pymodd-1.0.8-cp310-none-win_amd64.whl
(377.3 kB
view hashes)
pymodd-1.0.8-cp310-none-win32.whl
(365.1 kB
view hashes)
pymodd-1.0.8-cp39-none-win_amd64.whl
(377.3 kB
view hashes)
pymodd-1.0.8-cp39-none-win32.whl
(365.1 kB
view hashes)
pymodd-1.0.8-cp38-none-win_amd64.whl
(377.3 kB
view hashes)
pymodd-1.0.8-cp38-none-win32.whl
(365.0 kB
view hashes)
Close
Hashes for pymodd-1.0.8-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2b77f8513e1b19843d819f6610fc5111fe9edec738fd47e2ecbf16d95280f1c |
|
MD5 | 02c8f6820c4df3bcac044f1e48984beb |
|
BLAKE2b-256 | a2a750062689c913bde301b901641a29e668abcb4d0b4e1f9a2df1e8d5c0de84 |
Close
Hashes for pymodd-1.0.8-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72960d1994e0c57ae7bf658ac3d5da8f2ed065aec3c17051a66f04ebb92ee40a |
|
MD5 | 33036ef26b7f288eb5bac75e0720f2b5 |
|
BLAKE2b-256 | 42a5b144b45cf1ebf92c608a859281fe836ebde82b598436eaa1226b719fced4 |
Close
Hashes for pymodd-1.0.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c50e6454855c188d7b0d81d7237082f47c64e52d5602e2a966cd07ac6b6c040 |
|
MD5 | ac1a0d771ac4206320a55c81aaeb0c5e |
|
BLAKE2b-256 | 6d2cba1c1eaf82c7bc0d5ae1839dbf5aecb6d91bbeef6e92e451ecc6d5f2541e |
Close
Hashes for pymodd-1.0.8-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 322c1681ebc6addb0fe1c2ad5b07d5dd70e656e504ec8a852b0d5b72bb2f9f43 |
|
MD5 | 703f2066b8ce625673a8acbe9c40936a |
|
BLAKE2b-256 | 2cce3e45926924b2dccd4004d8cdea4e05e2e2238bfec9eecef352451668368f |
Close
Hashes for pymodd-1.0.8-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e53d43d00d6670b37003a6347484d29bdd0fc74a9b8b5539a55c418886c6c39 |
|
MD5 | a48b2d4cc130245d87f495e85ebefdaa |
|
BLAKE2b-256 | 2e47b124cc2b1cc4666068919640ce9b6e435b2590729f01176a0dce42246da9 |
Close
Hashes for pymodd-1.0.8-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 952c18fca1570ee8e48f34e8671ce04252855fa330a5819141fde9aa3e007cb5 |
|
MD5 | 9e10ba5d430936419efbfd4856a56ed4 |
|
BLAKE2b-256 | d40c954a25eddd3c0fb26c06547ff500125cdaeae148fc9a476b72654a3e9b47 |
Close
Hashes for pymodd-1.0.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50b92b7d9fbeb876fea3df3289a4f002d13d403a865b6e66872dc7e67d45a7c7 |
|
MD5 | 36c9031f598df62cd4fe78b026e5c775 |
|
BLAKE2b-256 | 9cbe310c2cfe0e6c964c65d76dedb9a71f4767b680d3578db57c4d1958e7b741 |
Close
Hashes for pymodd-1.0.8-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7b8be581aeb264454d6faceb66c1949d137794223aa55f9b4dac09661263e48 |
|
MD5 | 87f4c4f5c29d2b18317835b76f95af50 |
|
BLAKE2b-256 | 9e6e31faf3844042640046bf26ab88875bd1fd1686eac8e2527d8adb96fca7c7 |
Close
Hashes for pymodd-1.0.8-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50ffeeaf3311a741dd32d7a3478dd4ea5395703a3338c7914e5546bd61cb2cd9 |
|
MD5 | 9ba13d3c6c8d9c8c02cf39bf52d28328 |
|
BLAKE2b-256 | 12917c81d6ac9785904eaf92a80b429b7b9461cdb2082996177648724206faed |
Close
Hashes for pymodd-1.0.8-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c6c6e3d680afe5f2e246efe3a925bc8218772d85e1c66e151f89e4a40051e88 |
|
MD5 | ac6e173c8d658fc022d121dd9f1fa794 |
|
BLAKE2b-256 | 519e4b3367f8d75a079da92b14c351b1829a6e21534629a8f08cbfd940c947c0 |
Close
Hashes for pymodd-1.0.8-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87bb2a20349264d8e9f8e0646cae3b516221a35e44fb307eb55ddad32ecc0f5f |
|
MD5 | d44896311e35cf669d7a69135226a372 |
|
BLAKE2b-256 | 92302b069e1b378381b9f401c9dde3a37800135742fa15b2b7d2ea31c51532df |
Close
Hashes for pymodd-1.0.8-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fddca1ffcfb3062002380b8acbba3aff7730b15f0c952e6614a2668b9e91e50d |
|
MD5 | d53f23a5230b9bcc414ace0d85947844 |
|
BLAKE2b-256 | ab953342c2c11fb9e329eee0e461077d4b768ff097330e36f44186249b174007 |