require 'yaml' mappath = ARGV[0] outputpath = ARGV[1] panels = [] File.readlines(mappath).each do |line| line.match(/node name=\"(.*)\" parent=\"Panels\/(.*)\" instance/) do |m| panels << {"id" => m[2] + "/" + m[1]} end end File.write(outputpath, panels.to_yaml) gd?h=main' type='application/atom+xml'/>
about summary refs log tree commit diff stats
path: root/Archipelago/painting.gd
blob: adc8337a0530997b93ce62160e7cd8c01d6e53a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
extends "res://scripts/painting.gd"

func _looked_at(var body, var painting):
    ._looked_at(body, painting)
    
    if body.is_in_group("player") && (painting.get_name() == self.get_name()):
        var apclient = global.get_node("Archipelago")
        if !apclient._pilgrimage_allows_paintings:
            global.sunwarp = 1
            body.get_node("pivot/camera/sunwarp_background").visible = false