├── .github └── workflows │ └── idle-wild-my-survival-saga.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── docs ├── CNAME ├── assets │ ├── css │ │ ├── index-Cx4m5gF6.css │ │ └── vendor-modules-F1JXWUuM.css │ └── js │ │ ├── index-BMGkEoj6.js │ │ └── vendor-modules-BJ6MjZ7a.js └── index.html ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public └── CNAME ├── src ├── App.vue ├── components │ ├── AchievementSystem.vue │ ├── ActivityPanel.vue │ ├── BuildingPanel.vue │ ├── EventLog.vue │ ├── ExplorationPanel.vue │ ├── GameInterface.vue │ ├── PlayerStatus.vue │ ├── QuestSystem.vue │ ├── RandomEventSystem.vue │ ├── ResearchPanel.vue │ ├── ResourcePanel.vue │ ├── SkillTreeSystem.vue │ ├── TimeControl.vue │ ├── TradingSystem.vue │ └── WeatherSystem.vue ├── main.js ├── plugins │ ├── achievements.js │ ├── crypto.js │ ├── eventLibrary.js │ ├── explorationRegions.js │ ├── merchants.js │ ├── recipes.js │ ├── resource.js │ ├── skillTree.js │ └── weatherTypes.js └── stores │ ├── gameStore.js │ └── index.js └── vite.config.js /.github/workflows/idle-wild-my-survival-saga.yml: -------------------------------------------------------------------------------- 1 | name: 自动化创建Docker镜像 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | permissions: 12 | contents: read 13 | packages: write 14 | 15 | steps: 16 | - name: 检查代码 17 | uses: actions/checkout@v2 18 | 19 | - name: 登录 GitHub Container Registry 20 | uses: docker/login-action@v2 21 | with: 22 | registry: ghcr.io 23 | username: ${{ github.actor }} 24 | password: ${{ secrets.GITHUB_TOKEN }} 25 | 26 | - name: 构建Docker镜像 27 | run: docker build -t ghcr.io/${{ github.repository_owner }}/idle-wild-my-survival-saga:latest . 28 | 29 | - name: 推送到 GitHub Container Registry 30 | run: docker push ghcr.io/${{ github.repository_owner }}/idle-wild-my-survival-saga:latest 31 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:latest 2 | 3 | RUN mkdir -p /workspace 4 | 5 | WORKDIR /workspace 6 | 7 | RUN npm config set registry https://registry.npmmirror.com 8 | 9 | RUN cd /workspace 10 | 11 | RUN git clone https://github.com/setube/idle-wild-my-survival-saga.git 12 | 13 | RUN mv ./idle-wild-my-survival-saga/* . ; rm -rf ./idle-wild-my-survival-saga/ 14 | 15 | RUN npm install -g pnpm ; pnpm install ; npx vite build 16 | 17 | CMD ["npx", "vite", "preview", "--host", "0.0.0.0", "--port", "2543"] -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Creative Commons Attribution-NonCommercial 4.0 International Public License 2 | 3 | This work is licensed under the Creative Commons Attribution-NonCommercial 4.0 4 | International Public License. To view a copy of this license, visit 5 | https://creativecommons.org/licenses/by-nc/4.0/legalcode. 6 | 7 | You are free to: 8 | Share — copy and redistribute the material in any medium or format 9 | Adapt — remix, transform, and build upon the material 10 | 11 | Under the following terms: 12 | Attribution — You must give appropriate credit, provide a link to the license, 13 | and indicate if changes were made. You may do so in any reasonable manner, 14 | but not in any way that suggests the licensor endorses you or your use. 15 | 16 | NonCommercial — You may not use the material for commercial purposes. 17 | 18 | No additional restrictions — You may not apply legal terms or technological 19 | measures that legally restrict others from doing anything the license permits. 20 | 21 | Notice: 22 | This work is the original creation of Jun Qian (谦君). Source code available at: 23 | https://github.com/setube/idle-wild-my-survival-saga 24 | This license does not constitute a waiver of any copyright or related rights. 25 | 26 | When you share adaptations of this work, you must: 27 | - Provide prominent attribution to the original author 28 | - Retain this license document 29 | - Clearly indicate modifications made and dates 30 | - Distribute under the same CC BY-NC 4.0 license 31 | 32 | © 2025 Jun Qian - All rights reserved (except those granted by this license) -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 我的荒野放置求生记 2 |  3 | 4 | ## 项目简介 5 | 基于Vue3 + Pinia构建的生存模拟游戏,玩家需要在荒野中收集资源、建造设施、研究科技并应对天气变化。游戏包含完整的资源管理系统、技能成长系统和动态天气系统。 6 | 7 | ## 功能特性 8 | - 🏡 建筑系统:建造/升级庇护所、仓库、工作坊等设施 9 | - 🌟 技能成长:采集/制作/战斗/生存/研究五大技能体系 10 | - ⚙️ 科技树:解锁科技,开启高级制作配方 11 | - 🌦️ 动态天气:昼夜交替、季节变化影响游戏机制 12 | - 📊 状态管理:使用Pinia管理复杂游戏状态 13 | - 💾 游戏存档:支持本地存储和加密存档 14 | 15 | ## 技术栈 16 | - 前端框架:Vue 3 + Composition API 17 | - UI组件库:Element Plus 18 | - 状态管理:Pinia 19 | - 核心语言:JavaScript 20 | - 构建工具:Vite 21 | - 数据加密:CryptoJS 22 | 23 | ## 特别感谢 24 | - Vue.js 团队提供了优秀的前端框架 25 | - Element Plus 团队提供了高质量的UI组件 26 | - Vite 团队提供了高效的构建工具 27 | - Pinia 团队提供了简洁的状态管理方案 28 | 29 | ## 项目部署 30 | ### 安装项目 31 | ```bash 32 | npm install 33 | ``` 34 | 35 | ### 运行项目 36 | ```bash 37 | npm run dev 38 | ``` 39 | 40 | ### 编译项目 41 | ```bash 42 | npm run build 43 | ``` 44 | 45 | ## Docker 部署 46 | 47 | ### 构建镜像 48 | ```bash 49 | docker build -t ghcr.io/setube/idle-wild-my-survival-saga:latest . 50 | ``` 51 | ### 拉取镜像 52 | ```bash 53 | docker pull ghcr.io/setube/idle-wild-my-survival-saga:latest 54 | ``` 55 | ### 运行容器 56 | ```bash 57 | docker run -d -p 2543:80 --name idle-wild-my-survival-saga ghcr.io/setube/idle-wild-my-survival-saga:latest 58 | ``` 59 | 60 | 61 | ## 版权声明 62 | 知识共享署名-非商业性使用 4.0 国际许可协议 63 | 64 | 本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。 65 | 要查看此许可协议的副本,请访问 http://creativecommons.org/licenses/by-nc/4.0/。 66 | 67 | 您自由地: 68 | 共享 — 在任何媒介以任何形式复制、发行本作品 69 | 改编 — 修改、转换或以本作品为基础进行创作 70 | 71 | 惟须遵守以下条件: 72 | 署名 — 您必须给出适当的署名,提供指向本许可协议的链接,同时标明是否(对原始作品)作了修改。您可以用任何合理的方式来署名,但不得以任何方式暗示许可人为您或您的使用背书。 73 | 74 | 非商业性使用 — 您不得将本作品用于商业目的。 75 | 76 | 没有附加限制 — 您不得适用法律术语或者技术措施从而限制其他人做许可协议允许的事情。 77 | 78 | 声明: 79 | 本作品是作者(谦君)的原创作品,项目源码地址:https://github.com/setube/idle-wild-my-survival-saga 80 | 本授权条款不得被视为或解释为对任何版权的放弃或其他限制。 81 | 82 | 当您分享本作品的改编版本时,您必须: 83 | - 在显著位置标注原作者的署名 84 | - 保留本许可协议文档 85 | - 明确说明修改内容及修改日期 86 | - 使用相同的 CC BY-NC 4.0 协议进行分发 87 | 88 | © 2025 谦君 - 保留所有权利(根据本许可协议授予的权限除外) 89 | -------------------------------------------------------------------------------- /docs/CNAME: -------------------------------------------------------------------------------- 1 | idle-wild-my-survival-saga.wenzi.games -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 |
{{ building.description }}
394 |{{ activeEvent.description }}
123 | 132 |{{ activeMerchant.greeting }}
195 |