That is totally fine. I made it clear on my pledge mod thread ages ago, if it is a general mechanic, I would want people to use it rather than recreating the exact same thing from scratch. I just do not want people to take works w/o permission when one can create the mod differently (e.g. combat system, events or images).@hooni is this fine or shall change the names of the laws just in case our mods having the same law names makes you feel as if this mod was taken directly from your mod
laws = {
pledge_off = {
group = pledge
default = yes
potential = {
holder_scope = {
OR = {
independent = yes
in_revolt = yes
}
}
}
allow = {
}
revoke_allowed = {
always = no
}
effect = {
hidden_tooltip = {
revoke_law = pledge_on
}
set_tribal_vassal_levy_control = yes
}
}
pledge_on = {
group = pledge
potential = {
holder_scope = {
higher_tier_than = COUNT
independent = yes
}
}
allow = {
}
revoke_allowed = {
always = no
}
effect = {
hidden_tooltip = {
revoke_law = pledge_off
}
set_tribal_vassal_levy_control = no
}
}
}
However, note you did just take my code:
laws = {
pledge_off = {
group = pledge
default = yes
potential = {
holder_scope = {
government = feudal_government
OR = {
independent = yes
in_revolt = yes
}
}
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 1
# modifier = {
# factor = 0
# NOT = {title = e_hre}
# holder_scope = {
# num_of_vassals = 10
# any_vassal = {
# higher_tier_than = BARON
# }
# }
# }
}
ai_will_revoke = {
factor = 0
}
effect = {
hidden_tooltip = {
revoke_law = pledge_on
}
set_tribal_vassal_levy_control = yes
}
}
pledge_on = {
group = pledge
feudal_opinion = 5
potential = {
NOT = {has_law = ze_administration_laws_witan}
NOT = {has_law = ze_administration_laws_2}
NOT = {has_law = witan_administration}
NOT = {has_law = imperial_administration}
holder_scope = {
higher_tier_than = COUNT
independent = yes
government = feudal_government
in_revolt = no
}
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 0
# modifier = {
# factor = 0
# title = e_hre
# }
# modifier = {
# factor = 0
# NOT = {
# holder_scope = {
# num_of_vassals = 10
# any_vassal = {
# higher_tier_than = BARON
# }
# }
# }
# }
}
ai_will_revoke = {
factor = 0
}
effect = {
hidden_tooltip = {
revoke_law = pledge_off
}
set_tribal_vassal_levy_control = no
}
}
}
For the record, you just deleted commented out lines and some lines you do not use in your mod.
It literally is my code even down to the order of conditions.
You also took code from other mods, I can only assume without asking because I do not recall you asking me for mine. Not to mention there is any credit on your initial post.
You can my code, and redistribute my code for pledge laws, however, please note you have code from other mods as well, you may want to warn others about it before you give permission for others to use your mod.
Last edited: