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.2.tar.gz
(79.5 kB
view hashes)
Built Distributions
pymodd-1.0.2-cp311-none-win_amd64.whl
(373.2 kB
view hashes)
pymodd-1.0.2-cp311-none-win32.whl
(362.2 kB
view hashes)
pymodd-1.0.2-cp310-none-win_amd64.whl
(373.2 kB
view hashes)
pymodd-1.0.2-cp310-none-win32.whl
(362.2 kB
view hashes)
pymodd-1.0.2-cp39-none-win_amd64.whl
(373.2 kB
view hashes)
pymodd-1.0.2-cp39-none-win32.whl
(362.2 kB
view hashes)
pymodd-1.0.2-cp38-none-win_amd64.whl
(372.9 kB
view hashes)
pymodd-1.0.2-cp38-none-win32.whl
(361.6 kB
view hashes)
Close
Hashes for pymodd-1.0.2-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c4f0ea6f99cf61f1231261a83aaf5f254610e91dfbb3265491ed65eee531c34 |
|
MD5 | 331ef31c7fd68485e28ea3c46e1d1b04 |
|
BLAKE2b-256 | e545905d75d42a9ee5ba8a9dec1c19e217c0dc8a29d4eacbe36463cc154b1602 |
Close
Hashes for pymodd-1.0.2-cp311-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5581591df4e8b46ab2338b83e29dcde6d31e88e1d7fd3f6fec888f45f4521c7e |
|
MD5 | c1f0944bcac922870afa4898b19c4e8b |
|
BLAKE2b-256 | 7a29219a7dfa51a112cee9e13e7fcd861555b829cd0b18e81a4626041aa00bce |
Close
Hashes for pymodd-1.0.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9123b837a9e83693297f29f53bcf49d62a891092e70bf0e4e329ae6a9786c0d |
|
MD5 | 7f97d4ab10c82cdb26c7f8033fa0445e |
|
BLAKE2b-256 | aa0d7b7d0ebc54d4f291a639b7c1068621b8161adc916c2ac39e63050f8be35e |
Close
Hashes for pymodd-1.0.2-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9aa2a41f34b1cb3ceda48c615b4b1e29dac4a4ef8fbf464fa3073c0c8099064 |
|
MD5 | a3464a67c0a686cfc71c285203ffaba3 |
|
BLAKE2b-256 | 841a2bdf0236f5e60ac230f92335714a3b996cd3158e1e60c696d49c3eccd856 |
Close
Hashes for pymodd-1.0.2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc3b79feb5bf52f947898833ec9c997d174bf54683aa17b6fa61cda92f585bc3 |
|
MD5 | 9068203d6e66edd37c17e2933aab88d0 |
|
BLAKE2b-256 | 2729a0d68f8b287858a070bd8cb56b94e5603fe086263243eb24589430f9191c |
Close
Hashes for pymodd-1.0.2-cp310-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e60c61fbc3bc0c5d18b353dbc6df5f127fc346316dca9f9e70f6f0bfb442616b |
|
MD5 | 066ae3977bf814366450c9fdddd4b680 |
|
BLAKE2b-256 | e6368d3ad1fe786173d7c98d16f454690872502e4576bcf0db15ac539c7138bc |
Close
Hashes for pymodd-1.0.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 825bf1530bc216d0672e10610f1d06749afb5c6615d5473c75fde59f5733d656 |
|
MD5 | 5cc9de3efb5cec17bf73d30eb98cd2d5 |
|
BLAKE2b-256 | f69ebdb66687aae5136d0e0510f8e3690466a37ac15fded049eda9e9d5f1b984 |
Close
Hashes for pymodd-1.0.2-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bb3302f04dd0247ee40f4d477bac3a07d57dc20d46bdb440b51f877ae8b3fbf |
|
MD5 | b81f486eb6747dca6c2d13bce8dea17b |
|
BLAKE2b-256 | 43f6c63453aab830675ecbf2ffcfa3e508485e6056b08075f6b0b1d22caed172 |
Close
Hashes for pymodd-1.0.2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 278309a9954e6936dbaa5230ba08a613a73e04ea5ab94185d55e38764de3f935 |
|
MD5 | 978e9ab30a13ef347cb0d2e8739f5799 |
|
BLAKE2b-256 | 9673d66af5b02673e6fb96141230da429ea1f2ff540a04f2b61b4a935e0a4c99 |
Close
Hashes for pymodd-1.0.2-cp39-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88ee8f5be32ba5ed58638dcf96c8b929c430e34618409f82db10e27d6755eabe |
|
MD5 | fb36ed6696d0e9f7bd6e1a5eb4136aaa |
|
BLAKE2b-256 | ef615643774220e4691281ec1451da8cf45601f2cffabd4c555c7de315f83652 |
Close
Hashes for pymodd-1.0.2-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aff8817d27ee9d4edd8f86eb78dc6db6a392e02f66937e055a4a34af29241d9 |
|
MD5 | d094b44cd824b1ed19b4af3a1cd09040 |
|
BLAKE2b-256 | 7027103ed54a6b13a86015e775c3d49387f250f67f9a1f2af808d063332edecc |
Close
Hashes for pymodd-1.0.2-cp38-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | becbc32eb172f268eeee086467de3db8cfccff9515e1190492a2527dd2a10928 |
|
MD5 | 970b3ab52785594481bf6d5628c773f8 |
|
BLAKE2b-256 | ba79620fbd9e4f7c62f9bc2e27b504c3e1d2155723e164857102885a34bd185a |