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.7.tar.gz
(81.0 kB
view hashes)
Built Distributions
pymodd-1.0.7-cp311-none-win_amd64.whl
(376.6 kB
view hashes)
pymodd-1.0.7-cp311-none-win32.whl
(364.4 kB
view hashes)
pymodd-1.0.7-cp310-none-win_amd64.whl
(376.6 kB
view hashes)
pymodd-1.0.7-cp310-none-win32.whl
(364.4 kB
view hashes)
pymodd-1.0.7-cp39-none-win_amd64.whl
(376.6 kB
view hashes)
pymodd-1.0.7-cp39-none-win32.whl
(364.4 kB
view hashes)
pymodd-1.0.7-cp38-none-win_amd64.whl
(376.6 kB
view hashes)
pymodd-1.0.7-cp38-none-win32.whl
(364.3 kB
view hashes)
Close
Hashes for pymodd-1.0.7-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb0835e2292900d8dbe6ee398eeb4976541838da64d005749aaf3ffbf5553e5b |
|
MD5 | 0fbe693249f567584a7f599e33bb2d6a |
|
BLAKE2b-256 | 386b1d97ddac0e61c80566f7339022932809034bc649579f813d460810c58b85 |
Close
Hashes for pymodd-1.0.7-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaaf25896cf46b4d8c8527ccc550d1fcce4ecf141ccc59e124a5373e9de165cc |
|
MD5 | 51af5ae30114f5ca89187d0a4e8dc7e0 |
|
BLAKE2b-256 | 2566b9c36025ed10ca58b5f4eaf720f5f2f3580f870df03c6a8751bba1f39465 |
Close
Hashes for pymodd-1.0.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2a171ecefb28cb225b34d051db13bc0f74f40d52a1ff5162f59c85286bb06b6 |
|
MD5 | e6d38abecb25a96169d6f9a90fae520d |
|
BLAKE2b-256 | 1c20bcf9db3daa4d9218af9b3eca30cfe72fe27ad8c404209287f368a26f7e89 |
Close
Hashes for pymodd-1.0.7-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 242f25400be837de5366113987fd1a02147d98b0c556c08811384ee8a7a6eb20 |
|
MD5 | bd132bbe29b2d11028a516121bd09390 |
|
BLAKE2b-256 | b166237321504f39b5b49c762c3affba1556609dfda06fbd6f4b0acfda9e33ba |
Close
Hashes for pymodd-1.0.7-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46536e3357a282e551e194dcef2bbdd419af8f05970de97e67340ee924059c7e |
|
MD5 | f05187e5ca0c505c81c9f4821b088702 |
|
BLAKE2b-256 | 8d51006e2ee619f7de501a6bdc0b11e2ebbc77b06a12afb0531eb89c1294321f |
Close
Hashes for pymodd-1.0.7-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 641c216090451f4d21889f60e117b2d7e350eb9af2b4bd0a8f8dd491776f61bd |
|
MD5 | 36d96873ae9b11bbcbcbbe04c73d5a7b |
|
BLAKE2b-256 | 79abbc15995ae265091445a4e59786a826f47e18ea24344a337ff81d72cc2162 |
Close
Hashes for pymodd-1.0.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fca498fae5430afabb021f36c41a2be818e036b63ede41bd790f03267f2efcfd |
|
MD5 | e8ba08ae65c4e6a7b6af909c44942dc1 |
|
BLAKE2b-256 | 32599cc1152df8c7fe374c6b909412557608d904d464fe3fa9f60c8bdcaa3b19 |
Close
Hashes for pymodd-1.0.7-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d560087ec008e7a04f10a031ec3023b61d67b4964ebc7e36a6ee35cd98583fc6 |
|
MD5 | 560f1327ac55bd8486a8677131c3a6dd |
|
BLAKE2b-256 | 80ba5094529800d25a28ec3a4acc0450160c8a208d8cf6ea904747bc5739b6f3 |
Close
Hashes for pymodd-1.0.7-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95710adbf3429d9e84905ca7fb0f9173166f493c99fb834ded52be0ef299d6e7 |
|
MD5 | 19e1b240de7165faa4f940d074a7c9c7 |
|
BLAKE2b-256 | 0c214621dbb6eab0affe2c57449b445f89b2f180a76c826b75db03d9871120d8 |
Close
Hashes for pymodd-1.0.7-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcb0e5bca642d74e174cee1c0578c6a0c966922e11f5c8f4094e8c28502942ac |
|
MD5 | d593c87abee8e8e0455fc68cc9adabc0 |
|
BLAKE2b-256 | f8fb7cab4f397a2b8062f63bde99cdf96d03803be71220a8a3a70c22bec6e573 |
Close
Hashes for pymodd-1.0.7-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f777dd49ef5107f24917c5d1afba48ba9a511190acbc8547ae4c307d3ce06825 |
|
MD5 | 457ed3783b7f883736904735b9cc0f13 |
|
BLAKE2b-256 | bdcdead8b546375f42588d6c9e13906ecab1a25e63e4013357a93a1e7d04dee8 |
Close
Hashes for pymodd-1.0.7-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | faeb8036585708a8c0fa22255cf50bf73672b03431648a5f4be7eb33d8b3184f |
|
MD5 | f15f8961e41c5e7a0d5c478ad58ad48f |
|
BLAKE2b-256 | 5b6a078298d19f41bb1fb6e95d1f2e87655886d8ca29b81bb74cf8f7dd30cc12 |