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.6.tar.gz
(80.8 kB
view hashes)
Built Distributions
pymodd-1.0.6-cp311-none-win_amd64.whl
(376.5 kB
view hashes)
pymodd-1.0.6-cp311-none-win32.whl
(364.5 kB
view hashes)
pymodd-1.0.6-cp310-none-win_amd64.whl
(376.5 kB
view hashes)
pymodd-1.0.6-cp310-none-win32.whl
(364.5 kB
view hashes)
pymodd-1.0.6-cp39-none-win_amd64.whl
(376.5 kB
view hashes)
pymodd-1.0.6-cp39-none-win32.whl
(364.5 kB
view hashes)
pymodd-1.0.6-cp38-none-win_amd64.whl
(376.4 kB
view hashes)
pymodd-1.0.6-cp38-none-win32.whl
(364.3 kB
view hashes)
Close
Hashes for pymodd-1.0.6-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f46dd2d2fa6c4c77f31f3f01a91c600667a5f194bea76964f5e06c5b186c3ff5 |
|
MD5 | 1727473c559560d186512be837ebfcd9 |
|
BLAKE2b-256 | 272383c7acf64732bd4f601f027ca8be4d19fa1a27a8e914bc4d0966348eed34 |
Close
Hashes for pymodd-1.0.6-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 082e34de5bd5ebf2b27ee0f4126b71d23d6b0485597199fb102e90b82f6f18d0 |
|
MD5 | b85f6c465316d717052f8cf1e2bc77d5 |
|
BLAKE2b-256 | 61a5f7e0fb63a2fdfd106f34d5cab550e16cbff653ab383479ddab0aa30dda48 |
Close
Hashes for pymodd-1.0.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd63164457c9efac830d9c8d153e0c5f77fa852d091760288debfbf60907a6e6 |
|
MD5 | bc3da624563907dbd8799d77063bca69 |
|
BLAKE2b-256 | 466d17a0e6c98fe2aea910dbf50d0a066cc54255881f9f2d2ab92b3422260d6c |
Close
Hashes for pymodd-1.0.6-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbecb35cbb5d8988c5cc214ac5840644eba0b1a0a41e941d6a7b43db0d20a143 |
|
MD5 | ddf98dbef656048d7771e62038d34301 |
|
BLAKE2b-256 | 716d4e2072f98ec811ff006eccde7cfffb276cd6ca76d0345907d49c6b32b004 |
Close
Hashes for pymodd-1.0.6-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aedbfa515af7eaeb11b8087a7c3196fcc3932341622583dc8100b6c1fe41ab1 |
|
MD5 | a8daf4dece77fac68a56309a5cce7273 |
|
BLAKE2b-256 | e6f748c25b1c074f1d621b65a3d74b73fd8e65759e64b1b909d56ced32e49a92 |
Close
Hashes for pymodd-1.0.6-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17e8cf3e03aed5a265a591245a32d5b732d90643b35bb62b3807cc27b3ef1d72 |
|
MD5 | c6e1f9a2a882f9bfb3e22e44808083c1 |
|
BLAKE2b-256 | 6c2e4aebe309e49b109cb98c156af72b9df7bafd28ee637ab6e1192efc0464ad |
Close
Hashes for pymodd-1.0.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94e83594f45043c5c8f82542bca43fa6cb33408fe41435f108743142fc18eba4 |
|
MD5 | 4a3f2cd1b91e9f2a00e21da86c4e0fc7 |
|
BLAKE2b-256 | e2157b48923ca3df2bd48167e1f43c5364e3101b19953de42840ed8b65a52ba5 |
Close
Hashes for pymodd-1.0.6-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ab2244b20967167f7856ce0e461412bc75200be1b6e883f43348735c85cea50 |
|
MD5 | 31f6ceafaa6b5f0b36eb741f39ac8ea8 |
|
BLAKE2b-256 | d9357e844ddeccdaf5a97cd979602f7b9e7dc3e971b24c581848cb9d2169567c |
Close
Hashes for pymodd-1.0.6-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c13facd1549630830efa1d4168872b1ae02fc6a46640153a619dcc50cc2427c |
|
MD5 | cfbbd43daf0c8a69be0187f625dcdbac |
|
BLAKE2b-256 | c4197e04076d1e4e9a23bd1a22541c0902e95cdcc170a30403714841564ba99d |
Close
Hashes for pymodd-1.0.6-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71f28d4008327746b7ff8a83748f14c9c3216676a65356502c72648b683f9f3a |
|
MD5 | 46ac80a656852f4306b14312bcd831b0 |
|
BLAKE2b-256 | 4ceeaf88b6cd03d151fbcc0b82dff14a49855d23c69f4ea35f8c0da39fb3fe13 |
Close
Hashes for pymodd-1.0.6-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01d521f6ea294b2d521168396d66722a99ed77f0dc505865f6fad99888f87aa9 |
|
MD5 | d34a19817c82d2a583d8d2dd9b3e7cc9 |
|
BLAKE2b-256 | c46a07b75a9e66061b6124f7d36c18c8572127e1089d169c5ac09c790b22e30b |
Close
Hashes for pymodd-1.0.6-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d0d1df847ac5bfb898f6169f2c3957117999a4940c4ad9f73437440b6c21429 |
|
MD5 | c1f99eaf45e63ae81355110fb5c78148 |
|
BLAKE2b-256 | dbd8e0fcb66d432df40a7c4f1cda722d8dbe00f2a9081b24845bbbde5207a01e |