opy-rs 0.1.52

Standalone OverPy-compatible .opy implementation with parsing, tooling, and bounded Workshop compilation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#!translations en
globalvar result
macro Player.copyAlive():
    result = self.isAlive()
rule "callable surface":
    @Event eachPlayer
    result = _("hello")
    result = ___("context", "hello")
    result = [1, 2, 3].map(lambda value: value + 1)
    result = [1, 2, 3].all()
    result = lerp(0, 10, 0.5)
    result = getSign(-1)
    eventPlayer.copyAlive()