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.3.tar.gz
(79.4 kB
view hashes)
Built Distributions
pymodd-1.0.3-cp311-none-win_amd64.whl
(373.2 kB
view hashes)
pymodd-1.0.3-cp311-none-win32.whl
(362.2 kB
view hashes)
pymodd-1.0.3-cp310-none-win_amd64.whl
(373.2 kB
view hashes)
pymodd-1.0.3-cp310-none-win32.whl
(362.2 kB
view hashes)
pymodd-1.0.3-cp39-none-win_amd64.whl
(373.2 kB
view hashes)
pymodd-1.0.3-cp39-none-win32.whl
(362.1 kB
view hashes)
pymodd-1.0.3-cp38-none-win_amd64.whl
(372.9 kB
view hashes)
pymodd-1.0.3-cp38-none-win32.whl
(361.6 kB
view hashes)
Close
Hashes for pymodd-1.0.3-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6238cef75d0512a86063590cbc69e43a3aa228fb792e75bb4f6cb913fedd971 |
|
MD5 | 4f76a4ccc73bf5e1c32a6adda632a196 |
|
BLAKE2b-256 | 97d3b9ffdd676d35326f29bfc7d2f678dcba2eaeda65e1c6b6db4e4146718f17 |
Close
Hashes for pymodd-1.0.3-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e110416a66183dccd861b47b7acc26acd3b79b99e9fe24e8f016bbb697b9b05 |
|
MD5 | a2807f635012531aa76e237fdeef1ae6 |
|
BLAKE2b-256 | 5bc0697ef02e6a4a101c92f0c1d3eb21ead6da2f7b06976df2eb0c856494a5b5 |
Close
Hashes for pymodd-1.0.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58abbf5f74cdc8c13eb4676e6c452f170a226bc89a417d1bb59b7811de54f03c |
|
MD5 | 0a7ae76a1366dbf9d86d8c8e8bad8ab1 |
|
BLAKE2b-256 | 7af64375b79f527173298229600ab750339f4f6a1e983fe8248284a8c85bd39e |
Close
Hashes for pymodd-1.0.3-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15f77467ac3757fca44993866c09f7d113689048ec44e271c911c8c7d51f7ecf |
|
MD5 | c096fb061103ecd347ec737b5ea3c640 |
|
BLAKE2b-256 | 2902de15ae5917201b9b6d33098b6b68bc40d92b065fa6f201dda667a1b93145 |
Close
Hashes for pymodd-1.0.3-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5b0c5e69392cc29980d4dc6e9783069efd512cd23aaf06df814a7a6a952c498 |
|
MD5 | 6f03179033c6dd8d2512ab6f6998ad41 |
|
BLAKE2b-256 | cfc808682748d14a61c94c3fdf626ec2d4f0515c17b8ed016227fa3a08bbd180 |
Close
Hashes for pymodd-1.0.3-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daa057c0a3fd856fb46ad0c82654887c3ebae8ce677758485f63cfb9a5367365 |
|
MD5 | 8268feb0a5422a50b6bf76ed4988c522 |
|
BLAKE2b-256 | a22f364056e40e746df18cae7bef965408ad0cd4d82b754e13b6e40673ec66ca |
Close
Hashes for pymodd-1.0.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9e4fa22b38c12b2d01ce91fcb548c452614d72511c287ce2506d7c8c87c042a |
|
MD5 | c319cd27fd918c8e17d7f740a2bd38b0 |
|
BLAKE2b-256 | ba20eb56f1fcf10e5d22eab4c2ad42e54e9849139dc38a0ed2c135b3ae2adbee |
Close
Hashes for pymodd-1.0.3-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1725c7e52d90bfa105f90d1c77c286ff73ec44042b29575a9cdcc7be92f56fe0 |
|
MD5 | 83426c8f269fe5bbc823de323619732c |
|
BLAKE2b-256 | e40967abfbce14a28af13d68fef25e8d35b35f8054b45db43bb7b340435a7a1b |
Close
Hashes for pymodd-1.0.3-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f500bcd3e282a170ee134fafdd9c99dba3f94876592f9aa687e53afe37b608a5 |
|
MD5 | d91c89a7af8fb3fa8a5d59275af7c244 |
|
BLAKE2b-256 | ec3365772aeda0c3d8cf9a5db5082687bfa08f22bd9aa5fd9f2eaebc9a689021 |
Close
Hashes for pymodd-1.0.3-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 813df287c47bdf654aa17c2fbbb72938ba19ede74cb9271fe6f2816bbff30bd4 |
|
MD5 | f1de4ad4ef496319c3734fa09af2da0c |
|
BLAKE2b-256 | a5a052ce82fe0105d355e2ab5767672e2001c2455b1967b5101a982397801bea |
Close
Hashes for pymodd-1.0.3-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbb9d8831c762345c6546e664e165e0ce031938e82d1dc6e9fc6550f7ec6409a |
|
MD5 | 4d9c99dd91a67bc9839667e3f7c63263 |
|
BLAKE2b-256 | 47e08cf7f0aa8c70b26bac88742bd32274cb8e42247bec6b97f581cb668fa884 |
Close
Hashes for pymodd-1.0.3-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da271309dec33c0b5b98df0e682a0acc730580f1dc992974ce175453d2118d59 |
|
MD5 | 308461517676a8d5b74bf9732a1b8252 |
|
BLAKE2b-256 | 64810fd3343b9250bd4ef24e2396e6cff5c95626a4c63e5e190fb900dc26b4bc |