mandala version 1.0
  • authors

    Danke 51

  • downloads
    voxlap .vxl 2.21 MiB
    Download
    pyspades .txt 819 bytes
    Download
  • tags

    Water damage 🌊 Babel 🗼

  • text file
    name = 'mandala'
    version = '1.0'
    author = 'Danke'
    extensions = { 
       'water_damage' : 8,
       'babel' : True, 
       'heavens_color' : (190, 190, 190, 255)
    }
    
    fog = (128, 128, 128)
    
    BLUE_RECT = ( 165, 231, 186, 280 ) 
    GREEN_RECT = ( 325, 231, 346, 280 )
    
    def get_spawn_location(connection):
        if connection.team is connection.protocol.blue_team:
            return connection.protocol.get_random_location(True, BLUE_RECT)
        elif connection.team is connection.protocol.green_team:
            return connection.protocol.get_random_location(True, GREEN_RECT)
    
    from pyspades.constants import *
    from pyspades.server import ServerConnection
    
    def get_entity_location(team, entity_id):
        if entity_id == GREEN_BASE:
            return (346, 255, 57)
        if entity_id == BLUE_BASE:
            return (165, 255, 57)