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
+23
View File
@@ -0,0 +1,23 @@
package world_test
import (
"testing"
"github.com/inkyblackness/hacked/ss1/world"
"github.com/stretchr/testify/assert"
)
func TestDefaultCyberspaceLevels(t *testing.T) {
tt := []bool{
false, false, false, false,
false, false, false, false,
false, false, true, false,
false, false, true, true,
}
for levelID, expected := range tt {
result := world.IsConsideredCyberspaceByDefault(levelID)
assert.Equal(t, expected, result, "Cyberspace mismatch")
}
}