Giter Site home page Giter Site logo

Comments (2)

Infixo avatar Infixo commented on June 16, 2024

BBG has the code as below. It basically changes "player founded religion" reqset into "player founded religion OR is Mvemba". So yes, all beliefs should be available to Mvemba. But how does the game know which beliefs actually should trigger?

--5.1 Founder Belief Bug Fix
INSERT INTO Requirements(RequirementId, RequirementType) VALUES
	('BBG_REQUIRES_PLAYER_IS_RELIGIOUS_CONVERT', 'REQUIREMENT_PLAYER_LEADER_TYPE_MATCHES'),
	('BBG_REQUIRES_PLAYER_FOUNDED_RELIGION_OR_MVEMBA', 'REQUIREMENT_REQUIREMENTSET_IS_MET');

INSERT INTO RequirementSets(RequirementSetId, RequirementSetType) VALUES
	('BBG_REQSET_FOUNDER_OR_MVEMBA', 'REQUIREMENTSET_TEST_ANY');

INSERT INTO RequirementSetRequirements(RequirementSetId, RequirementId) VALUES
	('BBG_REQSET_FOUNDER_OR_MVEMBA', 'REQUIRES_PLAYER_FOUNDED_RELIGION'),
	('BBG_REQSET_FOUNDER_OR_MVEMBA', 'BBG_REQUIRES_PLAYER_IS_RELIGIOUS_CONVERT');

INSERT INTO RequirementArguments(RequirementId, Name, Value) VALUES
	('BBG_REQUIRES_PLAYER_IS_RELIGIOUS_CONVERT', 'LeaderType', 'LEADER_MVEMBA'),
	('BBG_REQUIRES_PLAYER_FOUNDED_RELIGION_OR_MVEMBA', 'RequirementSetId', 'BBG_REQSET_FOUNDER_OR_MVEMBA');

UPDATE RequirementSetRequirements SET RequirementId = 'BBG_REQUIRES_PLAYER_FOUNDED_RELIGION_OR_MVEMBA' WHERE RequirementId = 'REQUIRES_PLAYER_FOUNDED_RELIGION' AND RequirementSetId <> 'BBG_REQSET_FOUNDER_OR_MVEMBA';

Edit 15.06 This code is only partially good. It works when the religion is adopted, but the problem is when another religion erradicates the first one - the effects from the first one stay.

from civ6-real-fixes.

Infixo avatar Infixo commented on June 16, 2024

SubjectRequirementSetId = 'PLAYER_FOUNDED_RELIGION_REQUIREMENTS' (test all: REQUIRES_PLAYER_FOUNDED_RELIGION)

  • BURIAL_GROUNDS_CULTURE_BOMB_TRIGGER_HOLY_SITE
  • CHURCH_PROPERTY_GOLD_CITY
  • CROSS_CULTURAL_DIALOGUE_SCIENCE_FOREIGN_FOLLOWER
  • HOLY_ORDER_APOSTLE_DISCOUNT
  • HOLY_ORDER_MISSIONARY_DISCOUNT
  • LAY_MINISTRY_CULTURE_DISTRICTS
  • LAY_MINISTRY_FAITH_DISTRICTS
  • MISSIONARY_ZEAL_IGNORE_TERRAIN
  • PILGRIMAGE_FAITH_FOREIGN_CITY
  • STEWARDSHIP_GOLD_DISTRICTS
  • STEWARDSHIP_SCIENCE_DISTRICTS
  • TITHE_GOLD_FOLLOWER
  • WORLD_CHURCH_CULTURE_FOREIGN_FOLLOWER

SubjectRequirementSetId != 'PLAYER_FOUNDED_RELIGION_REQUIREMENTS'

  • DEFENDER_OF_FAITH_COMBAT_BONUS => DEFENDER_OF_FAITH_REQUIREMENTS (enh) => REQUIRES_PLAYER_FOUNDED_RELIGION
  • JUST_WAR_COMBAT_BONUS => JUST_WAR_REQUIREMENTS (enh) => REQUIRES_PLAYER_FOUNDED_RELIGION

NULL

  • ITINERANT_PREACHERS_SPREAD_DISTANCE (enh)
  • MONASTIC_ISOLATION_REDUCE_COMBAT_LOSS (enh)
  • RELIGIOUS_COLONIZATION_AUTO_SPREAD (enh)
  • RELIGIOUS_UNITY_ENVOY_ON_ADOPTION (founder)
  • SCRIPTURE_SPEAD_STRENGTH (enh)

from civ6-real-fixes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.