Skip to content

Commit

Permalink
🔖 v0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
KhanMaytok committed Oct 29, 2020
1 parent 366bd63 commit 392b543
Show file tree
Hide file tree
Showing 21 changed files with 382 additions and 291 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.0.3] - 2020-10-29
### Added
- Genetical traits
- Events for Vee and Khalga reproduction
- Events of trait inheritance system


[Unreleased]: https://github.com/khanmaytok/Ancestors-CK3/compare/v0.0.3...HEAD
[0.0.3]: https://github.com/khanmaytok/Ancestors-CK3/compare/v0.0.2...v0.0.3
[0.0.2]: https://github.com/khanmaytok/Ancestors-CK3/releases/tag/v0.0.2
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM scratch
FROM node:lts-alpine

WORKDIR /usr/src/app

COPY . .

CMD [ "sh", "/usr/src/app/entrypoint.sh" ]
46 changes: 46 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<h1 align="center">Ancestors</h1>

<div align="center">
🏰⚔️🛡️⚔️🏰
</div>

<div align="center">
<strong>Mod for Crusader Kings III</strong>
</div>

<br />

<div align="center">
<!-- NPM version -->
<a href="https://npmjs.org/package/rinnegan">
<img src="https://img.shields.io/npm/v/rinnegan.svg?style=flat-square"
alt="NPM version" />
</a>

<!-- Downloads -->
<a href="https://npmjs.org/package/rinnegan">
<img src="https://img.shields.io/npm/dt/rinnegan.svg?style=flat-square"
alt="NPM downloads" />
</a>
<!-- Docker pulls -->
<a href="https://hub.docker.com/repository/docker/khanmaytok/ancestors">
<img src="https://img.shields.io/docker/pulls/khanmaytok/ancestors.svg?style=flat-square"
alt="Docker pulls" />
</a>
</div>

<div align="center">
<h3>
<a href="https://www.maytok.com">
Website
</a>
<span> | </span>
<a href="https://discord.gg/F6f2FPJUvV">
Discord
</a>
</h3>
</div>




41 changes: 26 additions & 15 deletions common/on_action/acs_setup_on_actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
}
}


on_birth_child = {
on_actions = {
ACS_events_on_birth_child
# ACS_events_on_birth_child
}
}

on_birthday = {
on_actions = {
ACS_gain_dojutsu
ACS_kill_vee
}
}

Expand All @@ -24,32 +24,34 @@ on_pregnancy_mother = {
}
}

on_death = {
on_actions = {
ACS_on_death
}
}

ACS_events_yearly_global_pulse = {
trigger = {
NOT = { has_global_variable = ancestors_startup }
}
events = {
ACS.0001 #"Develops" the character and gives those without location a location
ACS.0001 # Select a random ruler. only AI. (Vee host)
}
}

ACS_events_on_birth_child = {
ACS_gain_dojutsu = {
trigger = {
age = 16
}
events = {
ACS.0003
}
}

ACS_gain_dojutsu = {
ACS_kill_vee = {
trigger = {
age = 16
OR = {
has_character_modifier = sharingan_promise
has_character_modifier = byakugan_promise
}
age = 53
has_trait = syrena
}
events = {
ACS.0004
ACS.0007
}
}

Expand All @@ -58,6 +60,15 @@ ACS_on_pregnancy_mother = {
has_trait = syrena
}
events = {
ACS.0005 # Khalga comes
ACS.0004 # Khalga comes
}
}

ACS_on_death = {
trigger = {
has_trait = syrena
}
events = {
ACS.0009
}
}
85 changes: 28 additions & 57 deletions common/traits/acs_traits.txt
Original file line number Diff line number Diff line change
@@ -1,47 +1,25 @@
syrena = {
index = 3000
intrigue = 10
fertility = 0.99

seduce_scheme_power_add = 100
attraction_opinion = 500

flag = can_not_marry
can_inherit = no
can_have_children = no

name = trait_syrena
desc = {
first_valid = {
triggered_desc = {
trigger = {
NOT = { exists = this }
}
desc = trait_syrena_desc
}
desc = trait_syrena_character_desc
}
}
icon = syrena.dds
desc = trait_syrena_desc
}

sharingan = {
index = 3001
intrigue = 10

name = trait_sharingan
desc = {
first_valid = {
triggered_desc = {
trigger = {
NOT = { exists = this }
}
desc = trait_sharingan_desc
}
desc = trait_sharingan_character_desc
}
}
desc = trait_sharingan_desc
icon = sharingan.dds
group = sharingan_group
level = 1
}

mangekyo_sharingan = {
Expand All @@ -64,8 +42,6 @@ mangekyo_sharingan = {
}
}
icon = mangekyo_sharingan.dds
group = sharingan_group
level = 2
}

eternal_mangekyo_sharingan = {
Expand Down Expand Up @@ -97,20 +73,7 @@ byakugan = {
intrigue = 10

name = trait_byakugan
desc = {
first_valid = {
triggered_desc = {
trigger = {
NOT = { exists = this }
}
desc = trait_byakugan_desc
}
desc = trait_byakugan_character_desc
}
}
icon = byakugan.dds
group = byakugan_group
level = 1
desc = trait_byakugan_desc
}

tenseigan = {
Expand All @@ -133,8 +96,6 @@ tenseigan = {
}
}
icon = tenseigan.dds
group = byakugan_group
level = 2
}

jogan = {
Expand All @@ -157,8 +118,6 @@ jogan = {
}
}
icon = jogan.dds
group = byakugan_group
level = 3
}

zeus = {
Expand All @@ -172,16 +131,28 @@ zeus = {
can_inherit = no

name = trait_zeus
desc = {
first_valid = {
triggered_desc = {
trigger = {
NOT = { exists = this }
}
desc = trait_zeus_desc
}
desc = trait_zeus_character_desc
}
}
desc = trait_zeus_desc
icon = zeus.dds
}

zeus_blood = {
index = 3008
fertility = 1.0
monthly_prestige = 0.1
genetic = yes
good = yes

name = trait_zeus_blood
desc = trait_zeus_blood_desc
}

vee_blood = {
index = 3009
fertility = 1.0
monthly_prestige = 0.1
genetic = yes
good = yes

name = trait_vee_blood
desc = trait_vee_blood_desc
}
2 changes: 1 addition & 1 deletion descriptor.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ tags={
"Events"
"Gameplay"
}
name="Ancestors - Byakugan and Sharingan"
name="Ancestors - Byakugan and Sharasdasdasdingan"
supported_version="1.1.*"
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

npm install -g rinnegan

exec "$@"
Loading

0 comments on commit 392b543

Please sign in to comment.