Adding modding folder with a hacked build.

This commit is contained in:
ml
2026-09-26 08:53:08 +02:00
parent cdb960dc71
commit c91080aba7
755 changed files with 50424 additions and 0 deletions
@@ -0,0 +1,18 @@
package world
import (
"github.com/inkyblackness/hacked/ss1/resource"
"github.com/inkyblackness/hacked/ss1/world/ids"
)
// ResourceViewStrategy returns a strategy that is typical for the game.
func ResourceViewStrategy() resource.ViewStrategy {
return defaultResources{}
}
type defaultResources struct{}
func (def defaultResources) IsCompoundList(id resource.ID) bool {
info, _ := ids.Info(id)
return info.List
}