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.4.tar.gz
(80.1 kB
view hashes)
Built Distributions
pymodd-1.0.4-cp311-none-win_amd64.whl
(374.5 kB
view hashes)
pymodd-1.0.4-cp311-none-win32.whl
(363.7 kB
view hashes)
pymodd-1.0.4-cp310-none-win_amd64.whl
(374.5 kB
view hashes)
pymodd-1.0.4-cp310-none-win32.whl
(363.7 kB
view hashes)
pymodd-1.0.4-cp39-none-win_amd64.whl
(374.5 kB
view hashes)
pymodd-1.0.4-cp39-none-win32.whl
(363.7 kB
view hashes)
pymodd-1.0.4-cp38-none-win_amd64.whl
(374.3 kB
view hashes)
pymodd-1.0.4-cp38-none-win32.whl
(362.9 kB
view hashes)
Close
Hashes for pymodd-1.0.4-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24d7933cc7cb4b69b07ce0378a78d520dd06fd63d16325ed41b7c545a2b0acea |
|
MD5 | 5423323099201265092abaea96452254 |
|
BLAKE2b-256 | d0cf775943f3feca84b44a4627a97dbe79bc1826d1d7b958d45780481b531d95 |
Close
Hashes for pymodd-1.0.4-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 882bd959d5dce04f59004d1f03372cb062e65351f4aea38f05f038fbbfd08d78 |
|
MD5 | 15aee90425ee96cf0c08e0d174e423ab |
|
BLAKE2b-256 | 94715f335f107b6399901463f310c3e7deef32abf4fc8d063f7ae011fff56286 |
Close
Hashes for pymodd-1.0.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cfcb192a901a3e778ede3b8cc2a2fe9df8280249541f0f36d2720f281c4989f |
|
MD5 | 053e85ad0377c26c3d46125f98ca9cd2 |
|
BLAKE2b-256 | 985e181ebf3d0af09900679e2dc95df530ed158af730d9a7f3f104717257ea71 |
Close
Hashes for pymodd-1.0.4-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 906f1e8a8ef27375a76787e890e1abd5b0639fbc799975dd5d7e81cac8992bba |
|
MD5 | 520ecc9c2a5b8385e88a85106d0c1ca1 |
|
BLAKE2b-256 | a2b424f92d7dcbb2dcb5173b0f3248ab554ac6638d637a4caf023c3bc45064df |
Close
Hashes for pymodd-1.0.4-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc0e28b58d09ffaf21ba03581c46519287f927685c2ef3d5a4acba94a749a444 |
|
MD5 | 515c037379117b639ca7cc70a829a55c |
|
BLAKE2b-256 | d1d8c2da0885b01f51a365c53792deb71c6a3c2b33193c2fa572974ed6a1c2be |
Close
Hashes for pymodd-1.0.4-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4604e46992a0dd28bbfc3f4c5d28f19f07dfe30a29e975fe90bf06e6279576d |
|
MD5 | 15214beefe2843bb353932c8ca06e8e5 |
|
BLAKE2b-256 | b422421fcd77e1496650ebf6f6d672024ecc0f7ce1314205bff2661970df50ce |
Close
Hashes for pymodd-1.0.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb73ed7df43360e6416933027693df0c6eefdd63d3bae171f8a38d22a770686 |
|
MD5 | 8833890bd8c95e0450aa54f98e9a93ad |
|
BLAKE2b-256 | 72bc486dc963e11f4cf40f7264c339820880e5e51c7ee4065c1eeaccd69eb73a |
Close
Hashes for pymodd-1.0.4-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eadcb56470eb25c4ae804c101469965bd4ad41c95e3ea53c1d241a6a006284b |
|
MD5 | 555b5714a0609767e7bb1a3cbc74b95d |
|
BLAKE2b-256 | 1b05bc1f39093616f2326f4d90747a7f2c99122ced80b6a31dbad115e53f765c |
Close
Hashes for pymodd-1.0.4-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a917986761afae43d6140fe631a45593a8657a720e3389b80bddb0da2a197775 |
|
MD5 | cafa6254baa70597e0d643e67273b1c2 |
|
BLAKE2b-256 | 6d08dcc4f72f20b1b7cf30ae45d6e789a0ea7d78a654234b549b5cb652a888ef |
Close
Hashes for pymodd-1.0.4-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 592ab7d5d1f1b7a0b8dae1ea459aa1ba08dfb4c815075864c1062bf2eeb336af |
|
MD5 | eb2fee2fd901f9e5b0234d2eecc49f7a |
|
BLAKE2b-256 | 8ba36ab58d9eaec764fc97bcf4d4d6969c34094b80392ceff03e7f4ba08cfe77 |
Close
Hashes for pymodd-1.0.4-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c12114dd9c8a69d7b59473ed50c2e6ffa6aebf78bc01038532db8c9af56869e4 |
|
MD5 | 2556f9efaa1e46e8f10c41cd3779aafc |
|
BLAKE2b-256 | 597a1e3414a9ba819228bce033645c21816634f91ec730995274e526876eb989 |
Close
Hashes for pymodd-1.0.4-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 646f76576eb66dfdb9890c5f5dbda423e140147b762e189295edcd5048921624 |
|
MD5 | f72568ca05c3159d30032d16121758f5 |
|
BLAKE2b-256 | 18a950addc5030061ec4b4f08b24905797e9247e74a84c6fc2b6a3e711c686fc |