First slice: classes, combat, questing, Deadmines

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-23 22:52:42 +01:00
commit 71dd99795a
17 changed files with 4522 additions and 0 deletions

26
package.nix Normal file
View file

@ -0,0 +1,26 @@
{ lib, stdenvNoCC, makeWrapper, python3 }:
stdenvNoCC.mkDerivation {
pname = "wog";
version = "0.1.0";
src = ./.;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
mkdir -p $out/share/wog $out/bin
cp app.py game.py combat.py content.py $out/share/wog/
cp -r static $out/share/wog/static
makeWrapper ${python3}/bin/python3 $out/bin/wog \
--add-flags "$out/share/wog/app.py"
runHook postInstall
'';
meta = {
description = "Co-op adventure for a small group of friends";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
mainProgram = "wog";
};
}