Module:BassaridianLegislativeProcess: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
NewZimiaGov (talk | contribs) Created page with "local p = {} --[[ Module:BassaridianLegislativeProcess Purpose: Generates a dynamic table of bills and resolutions for the 53–54 PSSC legislative cycle of the Bassaridian Legislature. Session: Starts: 1/3/53 PSSC Ends: 61/2/54 PSSC Calendar: The module follows the same basic structure as Module:BassaridianCalendar: * 183 days per PSSC year * 61 days in Atosiel * 61 days in Thalassiel * 61 days in Opsitheiel Usage: {{#invoke:BassaridianLegislativeProcess|main}}..." |
NewZimiaGov (talk | contribs) No edit summary |
||
| Line 241: | Line 241: | ||
sponsor = "[[Councilist Unity Front|CUF]]–[[Civic Reform Covenant|CRC]]", | sponsor = "[[Councilist Unity Front|CUF]]–[[Civic Reform Covenant|CRC]]", | ||
policy = "Certifies the 53 PSSC return, seats the new Council, and opens the inter-election legislative year.", | policy = "Certifies the 53 PSSC return, seats the new Council, and opens the inter-election legislative year.", | ||
floor = d(53,3,1), repDate = d(53,3,1), senateDate = d(53,3, | floor = d(53,3,1), repDate = d(53,3,1), senateDate = d(53,3,1), kingDate = d(53,3,1) | ||
}, | }, | ||
{ | { | ||
Revision as of 19:43, 26 June 2026
Documentation for this module may be created at Module:BassaridianLegislativeProcess/doc
local p = {}
--[[
Module:BassaridianLegislativeProcess
Purpose:
Generates a dynamic table of bills and resolutions for the 53–54 PSSC
legislative cycle of the Bassaridian Legislature.
Session:
Starts: 1/3/53 PSSC
Ends: 61/2/54 PSSC
Calendar:
The module follows the same basic structure as Module:BassaridianCalendar:
* 183 days per PSSC year
* 61 days in Atosiel
* 61 days in Thalassiel
* 61 days in Opsitheiel
Usage:
{{#invoke:BassaridianLegislativeProcess|main}}
Preview a specific date:
{{#invoke:BassaridianLegislativeProcess|main|year=54|month=2|day=61}}
]]
local DAYS_PER_YEAR = 183
local DAYS_PER_MONTH = 61
local SESSION_START = { year = 53, month = 3, day = 1 }
local SESSION_END = { year = 54, month = 2, day = 61 }
local monthNames = {
[1] = "Atosiel",
[2] = "Thalassiel",
[3] = "Opsitheiel"
}
local colors = {
grey = "#d9d9d9",
red = "#f4b6b6",
green = "#bfe3bf"
}
local function d(year, month, day)
return { year = year, month = month, day = day }
end
local function dateSerial(date)
if not date then
return nil
end
return (date.year * DAYS_PER_YEAR) + ((date.month - 1) * DAYS_PER_MONTH) + date.day
end
local function dateText(date)
if not date then
return ""
end
return tostring(date.day) .. "/" .. tostring(date.month) .. "/" .. tostring(date.year) .. " PSSC"
end
local function dateTextLong(date)
if not date then
return ""
end
return tostring(date.day) .. " " .. (monthNames[date.month] or ("Month " .. tostring(date.month))) .. " " .. tostring(date.year) .. " PSSC"
end
local function getCurrentPSSCDate()
local startDate = os.time({ year = 1999, month = 8, day = 6, hour = 0 })
local currentDate = os.time()
local secondsInDay = 86400
local totalDaysElapsed = math.floor((currentDate - startDate) / secondsInDay)
local psscYear = math.floor(totalDaysElapsed / DAYS_PER_YEAR)
local dayOfYear = (totalDaysElapsed % DAYS_PER_YEAR) + 1
local month = math.floor((dayOfYear - 1) / DAYS_PER_MONTH) + 1
local day = ((dayOfYear - 1) % DAYS_PER_MONTH) + 1
return { year = psscYear, month = month, day = day }
end
local function getDisplayDate(args)
if args and args.year and args.month and args.day then
local year = tonumber(args.year)
local month = tonumber(args.month)
local day = tonumber(args.day)
if year and month and day then
return { year = year, month = month, day = day }
end
end
return getCurrentPSSCDate()
end
local function cell(text, color)
return 'style="background:' .. color .. '; color:#111; text-align:center; font-weight:bold;" | ' .. text
end
local function smallDate(action, date)
if not date then
return action
end
return action .. '<br /><small>' .. dateText(date) .. '</small>'
end
local function councilCell(nowSerial, item)
local floorSerial = dateSerial(item.floor)
if nowSerial < floorSerial then
return cell("Not on floor", colors.grey)
end
if item.repResult == "failed" then
if item.repDate and nowSerial >= dateSerial(item.repDate) then
return cell(smallDate("Rejected", item.repDate), colors.red)
end
return cell("On floor", colors.red)
end
if item.repResult == "withdrawn" then
if item.repDate and nowSerial >= dateSerial(item.repDate) then
return cell(smallDate("Withdrawn", item.repDate), colors.red)
end
return cell("On floor", colors.red)
end
if item.repDate and nowSerial >= dateSerial(item.repDate) then
return cell(smallDate("Passed", item.repDate), colors.green)
end
return cell("On floor", colors.red)
end
local function senateCell(nowSerial, item)
local floorSerial = dateSerial(item.floor)
if nowSerial < floorSerial then
return cell("Not on floor", colors.grey)
end
if item.repResult == "failed" or item.repResult == "withdrawn" then
return cell("No transmission", colors.grey)
end
if not item.repDate or nowSerial < dateSerial(item.repDate) then
return cell("Awaiting Council", colors.grey)
end
if item.senateResult == "failed" then
if item.senateDate and nowSerial >= dateSerial(item.senateDate) then
return cell(smallDate("Returned", item.senateDate), colors.red)
end
return cell("Under review", colors.red)
end
if item.senateResult == "stalled" then
if item.senateDate and nowSerial >= dateSerial(item.senateDate) then
return cell(smallDate("Stalled", item.senateDate), colors.red)
end
return cell("Under review", colors.red)
end
if item.senateDate and nowSerial >= dateSerial(item.senateDate) then
return cell(smallDate("Passed", item.senateDate), colors.green)
end
return cell("Under review", colors.red)
end
local function kingsCell(nowSerial, item)
local floorSerial = dateSerial(item.floor)
if nowSerial < floorSerial then
return cell("Not on floor", colors.grey)
end
if item.repResult == "failed" or item.repResult == "withdrawn" then
return cell("No transmission", colors.grey)
end
if item.senateResult == "failed" or item.senateResult == "stalled" then
return cell("No final vote", colors.grey)
end
if not item.senateDate or nowSerial < dateSerial(item.senateDate) then
return cell("Awaiting Senate", colors.grey)
end
if item.kingResult == "denied" then
if item.kingDate and nowSerial >= dateSerial(item.kingDate) then
return cell(smallDate("Denied", item.kingDate), colors.red)
end
return cell("Before Kings", colors.red)
end
if item.kingResult == "stalled" then
if item.kingDate and nowSerial >= dateSerial(item.kingDate) then
return cell(smallDate("Unresolved", item.kingDate), colors.red)
end
return cell("Before Kings", colors.red)
end
if item.kingDate and nowSerial >= dateSerial(item.kingDate) then
return cell(smallDate("Approved", item.kingDate), colors.green)
end
return cell("Before Kings", colors.red)
end
-- Agenda weighting:
-- CUF remains the largest party, but the agenda reflects the strong MSC, PRP,
-- AESL, and WLG performance in the 53 PSSC election, while FIML and CRC
-- receive narrower, more procedural or minority-driven measures.
local measures = {
{
id = "BLP-053-001",
kind = "Resolution",
title = "Council Credentials and Returns Resolution",
sponsor = "[[Councilist Unity Front|CUF]]–[[Civic Reform Covenant|CRC]]",
policy = "Certifies the 53 PSSC return, seats the new Council, and opens the inter-election legislative year.",
floor = d(53,3,1), repDate = d(53,3,1), senateDate = d(53,3,1), kingDate = d(53,3,1)
},
{
id = "BLP-053-002",
kind = "Resolution",
title = "Legislative Calendar and Floor Priority Resolution",
sponsor = "[[Councilist Unity Front|CUF]]–[[Morovian Social Cooperative|MSC]]–[[Path of Renewal Party|PRP]]",
policy = "Sets floor order for welfare, corridor security, religious oversight, and Port-accounting measures.",
floor = d(53,3,2), repDate = d(53,3,3), senateDate = d(53,3,5), kingDate = d(53,3,5)
},
{
id = "BLP-053-003",
kind = "Bill",
title = "General Port Stipend Stabilisation Bill",
sponsor = "[[Morovian Social Cooperative|MSC]]–[[Councilist Unity Front|CUF]]",
policy = "Links Port-derived stipend adjustments to consumer-price movement and public-service demand.",
floor = d(53,3,4), repDate = d(53,3,8), senateDate = d(53,3,15), kingDate = d(53,3,18)
},
{
id = "BLP-053-004",
kind = "Resolution",
title = "Southern Strait Missionary Safety Resolution",
sponsor = "[[Path of Renewal Party|PRP]]–[[War League Guardians Bloc|WLG]]",
policy = "Endorses escort standards for shrine roads, ferry chapels, and recently established Temple Bank missions.",
floor = d(53,3,6), repDate = d(53,3,10), senateDate = d(53,3,18), kingDate = d(53,3,20)
},
{
id = "BLP-053-005",
kind = "Bill",
title = "Noctic-Rabrev Raw Leaf Custody Bill",
sponsor = "[[Path of Renewal Party|PRP]]–[[Civic Reform Covenant|CRC]]–[[Councilist Unity Front|CUF]]",
policy = "Creates stricter custody-chain rules for raw Noctic-Rabrev cargo, tinctures, shrine records, and inspection seals.",
floor = d(53,3,8), repDate = d(53,3,16), senateDate = d(53,3,24), kingDate = d(53,3,27)
},
{
id = "BLP-053-006",
kind = "Bill",
title = "War League Infrastructure Defence Appropriations Bill",
sponsor = "[[War League Guardians Bloc|WLG]]–[[Councilist Unity Front|CUF]]",
policy = "Funds bridge, aqueduct, pump-house, ferry-transfer, and quay-security detachments in vulnerable districts.",
floor = d(53,3,10), repDate = d(53,3,18), senateDate = d(53,3,29), kingDate = d(53,3,32)
},
{
id = "BLP-053-007",
kind = "Bill",
title = "Alperkin Sacred Routes Recognition Bill",
sponsor = "[[Alperkin Earth & Sky League|AESL]]–[[Path of Renewal Party|PRP]]–[[Morovian Social Cooperative|MSC]]",
policy = "Recognises sacred routes, grazing approaches, ritual paths, and customary Alperkin transit protections.",
floor = d(53,3,12), repDate = d(53,3,20), senateDate = d(53,3,35), kingDate = d(53,3,39)
},
{
id = "BLP-053-008",
kind = "Bill",
title = "Southern Strait Trade House Registration Bill",
sponsor = "[[Councilist Unity Front|CUF]]–[[Free Investors & Merchants League|FIML]]–[[Diaspora Bridges Movement|DBM]]",
policy = "Registers new trade houses, ferry warehouses, caravan brokers, and missionary-market intermediaries.",
floor = d(53,3,15), repDate = d(53,3,22), senateDate = d(53,3,33), kingDate = d(53,3,38)
},
{
id = "BLP-053-009",
kind = "Bill",
title = "Temple Bank Voucher Integrity Bill",
sponsor = "[[Morovian Social Cooperative|MSC]]–[[Path of Renewal Party|PRP]]",
policy = "Requires audit seals, redemption logs, and shrine countersignature for emergency voucher disbursements.",
floor = d(53,3,17), repDate = d(53,3,25), senateDate = d(53,3,37), kingDate = d(53,3,42)
},
{
id = "BLP-053-010",
kind = "Bill",
title = "Aqueduct Security and Water Relief Bill",
sponsor = "[[Morovian Social Cooperative|MSC]]–[[War League Guardians Bloc|WLG]]–[[Councilist Unity Front|CUF]]",
policy = "Combines protected engineering access, rationing-lane security, emergency water stipends, and boil-notice authority.",
floor = d(53,3,19), repDate = d(53,3,27), senateDate = d(53,3,39), kingDate = d(53,3,43)
},
{
id = "BLP-053-011",
kind = "Resolution",
title = "Caledonian Road and Rail Integration Resolution",
sponsor = "[[Councilist Unity Front|CUF]]–[[Free Investors & Merchants League|FIML]]–[[War League Guardians Bloc|WLG]]",
policy = "Supports rail-linked depots, highland route discipline, and guarded logistics parks in the Caledonian circuit.",
floor = d(53,3,22), repDate = d(53,3,30), senateDate = d(53,3,45), kingDate = d(53,3,49)
},
{
id = "BLP-053-012",
kind = "Bill",
title = "Dependency Incorporation Review Bill",
sponsor = "[[Civic Reform Covenant|CRC]]–[[Councilist Unity Front|CUF]]–[[Alperkin Earth & Sky League|AESL]]",
policy = "Creates a review process for dependency rights, staged incorporation, and representation petitions.",
floor = d(53,3,24), repDate = d(53,3,35), senateDate = d(53,3,50), kingDate = d(53,3,55)
},
{
id = "BLP-053-013",
kind = "Resolution",
title = "Port Ledger Transparency Motion",
sponsor = "[[Civic Reform Covenant|CRC]]–[[Free Investors & Merchants League|FIML]]",
policy = "Requests public release of non-sensitive Port ledgers, stipend formulas, and registered cargo categories.",
floor = d(53,3,27), repDate = d(53,3,34), senateDate = d(53,3,46), kingDate = d(53,3,51)
},
{
id = "BLP-053-014",
kind = "Resolution",
title = "Baratar Procurement Audit Resolution",
sponsor = "[[Civic Reform Covenant|CRC]]–[[Morovian Social Cooperative|MSC]]",
policy = "Directs a limited audit of procurement chains, seized arms ledgers, and emergency contracting records.",
floor = d(53,3,29), repDate = d(53,3,40), senateDate = d(53,3,54), senateResult = "failed"
},
{
id = "BLP-053-015",
kind = "Bill",
title = "Regional Investor Dividend Floor Bill",
sponsor = "[[Morovian Social Cooperative|MSC]]–[[Councilist Unity Front|CUF]]",
policy = "Sets a minimum social-return threshold for selected Regional Investor distributions.",
floor = d(53,3,32), repDate = d(53,3,42), senateDate = d(53,3,56), kingDate = d(53,3,60)
},
{
id = "BLP-053-016",
kind = "Bill",
title = "Hatch Ministry Prize-Court Evidence Standards Bill",
sponsor = "[[Civic Reform Covenant|CRC]]–[[War League Guardians Bloc|WLG]]",
policy = "Defines evidence logs, observer notes, captured-cargo documentation, and claimant notification in prize proceedings.",
floor = d(53,3,35), repDate = d(53,3,46), senateDate = d(53,3,59), kingDate = d(54,1,3)
},
{
id = "BLP-053-017",
kind = "Bill",
title = "Mission-House Public Works Bill",
sponsor = "[[Path of Renewal Party|PRP]]–[[Morovian Social Cooperative|MSC]]",
policy = "Funds cisterns, clinics, road kitchens, document desks, and shelter works at Bassaridian mission sites.",
floor = d(53,3,38), repDate = d(53,3,49), senateDate = d(54,1,4), kingDate = d(54,1,7)
},
{
id = "BLP-053-018",
kind = "Bill",
title = "Diaspora Remittance Corridor Bill",
sponsor = "[[Diaspora Bridges Movement|DBM]]–[[Free Investors & Merchants League|FIML]]–[[Councilist Unity Front|CUF]]",
policy = "Regularises remittance channels, diaspora investment notices, and lawful trade transfers from external Bassaridian communities.",
floor = d(53,3,41), repDate = d(53,3,51), senateDate = d(54,1,6), kingDate = d(54,1,10)
},
{
id = "BLP-053-019",
kind = "Resolution",
title = "Alperkin Land-Use Veto Petition Resolution",
sponsor = "[[Alperkin Earth & Sky League|AESL]]",
policy = "Petitions the Senate to recognise a stronger consultative veto for sacred-site works and route-disrupting projects.",
floor = d(53,3,43), repDate = d(53,3,52), senateDate = d(54,1,8), senateResult = "failed"
},
{
id = "BLP-053-020",
kind = "Bill",
title = "Free Quay Pilot Deregulation Bill",
sponsor = "[[Free Investors & Merchants League|FIML]]",
policy = "Creates lightly regulated merchant quay zones for selected commercial districts.",
floor = d(53,3,46), repDate = d(53,3,55), repResult = "failed"
},
{
id = "BLP-053-021",
kind = "Bill",
title = "Port Labour Safety and Dock Clinic Bill",
sponsor = "[[Morovian Social Cooperative|MSC]]–[[Path of Renewal Party|PRP]]",
policy = "Creates dock clinics, injury logs, heat and storm stoppage standards, and porter relief funds.",
floor = d(53,3,48), repDate = d(53,3,58), senateDate = d(54,1,11), kingDate = d(54,1,14)
},
{
id = "BLP-053-022",
kind = "Bill",
title = "Noctic Vampirism Emergency Health Protocol Bill",
sponsor = "[[Path of Renewal Party|PRP]]–[[War League Guardians Bloc|WLG]]–[[Morovian Social Cooperative|MSC]]",
policy = "Authorises public-health cordons, shrine-medical reporting, lawful tincture seizure, and treatment-channel funding.",
floor = d(53,3,50), repDate = d(53,3,60), senateDate = d(54,1,13), kingDate = d(54,1,16)
},
{
id = "BLP-053-023",
kind = "Bill",
title = "Southern Strait Locality Compliance Grants Bill",
sponsor = "[[Councilist Unity Front|CUF]]–[[Morovian Social Cooperative|MSC]]",
policy = "Provides compliance grants for ferry markets, local inspection desks, pilgrimage piers, and corridor trade houses.",
floor = d(53,3,53), repDate = d(54,1,2), senateDate = d(54,1,17), kingDate = d(54,1,20)
},
{
id = "BLP-053-024",
kind = "Resolution",
title = "Cultic Education and Rite-Led Reconciliation Resolution",
sponsor = "[[Path of Renewal Party|PRP]]",
policy = "Directs the education ministry and temple authorities to expand rite-led civic instruction and restorative discipline.",
floor = d(53,3,56), repDate = d(54,1,5), senateDate = d(54,1,19), kingDate = d(54,1,23)
},
{
id = "BLP-053-025",
kind = "Bill",
title = "Ferrum-Acheron Armoury Modernisation Bill",
sponsor = "[[War League Guardians Bloc|WLG]]–[[Councilist Unity Front|CUF]]",
policy = "Funds armoury repair, inventory locks, reserve parts, and defensive stock rotation in high-risk industrial districts.",
floor = d(53,3,58), repDate = d(54,1,8), senateDate = d(54,1,22), kingDate = d(54,1,25)
},
{
id = "BLP-053-026",
kind = "Bill",
title = "General Port Consumer Ledger Publication Bill",
sponsor = "[[Civic Reform Covenant|CRC]]–[[Morovian Social Cooperative|MSC]]–[[Councilist Unity Front|CUF]]",
policy = "Requires daily publication of selected consumer-ledger prices, stipend references, and public market movements.",
floor = d(53,3,61), repDate = d(54,1,10), senateDate = d(54,1,24), kingDate = d(54,1,28)
},
{
id = "BLP-054-027",
kind = "Bill",
title = "Diaspora Association Recognition Bill",
sponsor = "[[Diaspora Bridges Movement|DBM]]–[[Path of Renewal Party|PRP]]",
policy = "Recognises external Bassaridian associations for religious, cultural, and humanitarian coordination.",
floor = d(54,1,3), repDate = d(54,1,13), senateDate = d(54,1,27), kingDate = d(54,1,31)
},
{
id = "BLP-054-028",
kind = "Bill",
title = "Rural Produce Insurance Cooperative Bill",
sponsor = "[[Morovian Social Cooperative|MSC]]–[[Alperkin Earth & Sky League|AESL]]",
policy = "Creates crop, livestock, water, and caravan-delay insurance for rural producers tied to Port markets.",
floor = d(54,1,6), repDate = d(54,1,17), senateDate = d(54,1,32), kingDate = d(54,1,35)
},
{
id = "BLP-054-029",
kind = "Resolution",
title = "War League Restraint Review Resolution",
sponsor = "[[Path of Renewal Party|PRP]]–[[Alperkin Earth & Sky League|AESL]]",
policy = "Requests review of civilian-contact protocols, route interdiction, shrine-zone discipline, and emergency closures.",
floor = d(54,1,9), repDate = d(54,1,19), senateDate = d(54,1,34), senateResult = "failed"
},
{
id = "BLP-054-030",
kind = "Bill",
title = "Qhapaq Hodos Protection Bill",
sponsor = "[[Path of Renewal Party|PRP]]–[[Alperkin Earth & Sky League|AESL]]–[[Councilist Unity Front|CUF]]",
policy = "Protects sacred-road segments, shrine approaches, caravan wells, ferry approaches, and road-market nodes.",
floor = d(54,1,12), repDate = d(54,1,23), senateDate = d(54,1,38), kingDate = d(54,1,42)
},
{
id = "BLP-054-031",
kind = "Bill",
title = "Merchant Arbitration Fast-Lane Bill",
sponsor = "[[Free Investors & Merchants League|FIML]]–[[Diaspora Bridges Movement|DBM]]–[[Civic Reform Covenant|CRC]]",
policy = "Creates a narrow arbitration track for low-value trade disputes, remittance delays, and documentation mismatches.",
floor = d(54,1,15), repDate = d(54,1,26), senateDate = d(54,1,41), kingDate = d(54,1,45)
},
{
id = "BLP-054-032",
kind = "Resolution",
title = "Municipal Upper House Harmonisation Resolution",
sponsor = "[[Councilist Unity Front|CUF]]–[[Civic Reform Covenant|CRC]]",
policy = "Recommends uniform reporting rules for municipal military, business, and cultic upper houses.",
floor = d(54,1,18), repDate = d(54,1,29), senateDate = d(54,1,43), kingDate = d(54,1,47)
},
{
id = "BLP-054-033",
kind = "Bill",
title = "Temple Bank Emergency Loan Facility Bill",
sponsor = "[[Morovian Social Cooperative|MSC]]–[[Path of Renewal Party|PRP]]–[[Councilist Unity Front|CUF]]",
policy = "Authorises emergency loans for mission houses, clinic kitchens, route shelters, and compliant market repairs.",
floor = d(54,1,21), repDate = d(54,1,33), senateDate = d(54,1,48), kingDate = d(54,1,51)
},
{
id = "BLP-054-034",
kind = "Bill",
title = "Caledonian Privateer Bonding Bill",
sponsor = "[[War League Guardians Bloc|WLG]]–[[Free Investors & Merchants League|FIML]]",
policy = "Expands commercial bonding for Hatch Ministry-sanctioned privateers operating in Caledonian corridors.",
floor = d(54,1,24), repDate = d(54,1,36), senateDate = d(54,1,52), senateResult = "failed"
},
{
id = "BLP-054-035",
kind = "Bill",
title = "Port-Stipend Cost of Living Index Bill",
sponsor = "[[Morovian Social Cooperative|MSC]]–[[Councilist Unity Front|CUF]]",
policy = "Creates a formal cost-of-living index for stipend adjustment, staple goods, and city-level redemption calculations.",
floor = d(54,1,27), repDate = d(54,1,39), senateDate = d(54,1,54), kingDate = d(54,1,58)
},
{
id = "BLP-054-036",
kind = "Bill",
title = "Shrine Market Inspection Corps Bill",
sponsor = "[[Path of Renewal Party|PRP]]–[[Councilist Unity Front|CUF]]",
policy = "Creates shrine-market inspection teams for ritual goods, controlled substances, evidence seals, and public advisories.",
floor = d(54,1,30), repDate = d(54,1,42), senateDate = d(54,1,57), kingDate = d(54,2,1)
},
{
id = "BLP-054-037",
kind = "Bill",
title = "Alperkin Water and Grazing Covenant Bill",
sponsor = "[[Alperkin Earth & Sky League|AESL]]–[[Morovian Social Cooperative|MSC]]–[[Path of Renewal Party|PRP]]",
policy = "Protects seasonal water use, grazing corridors, customary relief stations, and Alperkin representation in route planning.",
floor = d(54,1,33), repDate = d(54,1,46), senateDate = d(54,2,3), kingDate = d(54,2,7)
},
{
id = "BLP-054-038",
kind = "Resolution",
title = "Southern Strait Observer Access Resolution",
sponsor = "[[Civic Reform Covenant|CRC]]–[[Diaspora Bridges Movement|DBM]]–[[Councilist Unity Front|CUF]]",
policy = "Clarifies lawful access for external observers, prize-court monitors, and corridor-compliance witnesses.",
floor = d(54,1,36), repDate = d(54,1,49), senateDate = d(54,2,5), kingDate = d(54,2,9)
},
{
id = "BLP-054-039",
kind = "Bill",
title = "Regional Investor Foreign Ownership Disclosure Bill",
sponsor = "[[Civic Reform Covenant|CRC]]–[[Alperkin Earth & Sky League|AESL]]–[[Morovian Social Cooperative|MSC]]",
policy = "Requires clearer disclosure of foreign-owned investor entities, beneficial ownership, and voting rights limitations.",
floor = d(54,1,39), repDate = d(54,1,52), senateDate = d(54,2,8), kingDate = d(54,2,12)
},
{
id = "BLP-054-040",
kind = "Bill",
title = "War League Veteran Household Stipend Bill",
sponsor = "[[War League Guardians Bloc|WLG]]–[[Morovian Social Cooperative|MSC]]",
policy = "Provides household stipend supplements for wounded personnel, widowed families, and long-service route guards.",
floor = d(54,1,42), repDate = d(54,1,55), senateDate = d(54,2,10), kingDate = d(54,2,14)
},
{
id = "BLP-054-041",
kind = "Bill",
title = "Public Works Anti-Sabotage Bill",
sponsor = "[[Councilist Unity Front|CUF]]–[[War League Guardians Bloc|WLG]]",
policy = "Creates penalties and rapid-repair authority for sabotage against aqueducts, trestles, docks, shrines, and public utilities.",
floor = d(54,1,45), repDate = d(54,1,58), senateDate = d(54,2,13), kingDate = d(54,2,17)
},
{
id = "BLP-054-042",
kind = "Bill",
title = "Coastwise Ferry Stabilisation Bill",
sponsor = "[[Councilist Unity Front|CUF]]–[[Diaspora Bridges Movement|DBM]]–[[Morovian Social Cooperative|MSC]]",
policy = "Funds ferry schedules, storm-delay compensation, shrine-boat routing, and lawful passage markings.",
floor = d(54,1,48), repDate = d(54,1,61), senateDate = d(54,2,15), kingDate = d(54,2,19)
},
{
id = "BLP-054-043",
kind = "Bill",
title = "Agricultural Price Support Bill",
sponsor = "[[Morovian Social Cooperative|MSC]]–[[Alperkin Earth & Sky League|AESL]]",
policy = "Stabilises prices for staple produce, caravan-market crops, rural co-ops, and weather-hit growers.",
floor = d(54,1,51), repDate = d(54,2,3), senateDate = d(54,2,18), kingDate = d(54,2,22)
},
{
id = "BLP-054-044",
kind = "Bill",
title = "Temple Bank Mission Registry Bill",
sponsor = "[[Path of Renewal Party|PRP]]–[[Councilist Unity Front|CUF]]",
policy = "Creates a national register of Temple Bank missions, liaison offices, document desks, and relief stores.",
floor = d(54,1,54), repDate = d(54,2,6), senateDate = d(54,2,21), kingDate = d(54,2,25)
},
{
id = "BLP-054-045",
kind = "Bill",
title = "Merchant Credit Deregulation Bill",
sponsor = "[[Free Investors & Merchants League|FIML]]",
policy = "Loosens credit restrictions for qualified Port firms and commercial houses.",
floor = d(54,1,57), repDate = d(54,2,8), senateDate = d(54,2,23), kingDate = d(54,2,27), kingResult = "denied"
},
{
id = "BLP-054-046",
kind = "Bill",
title = "Election Security and Ballot-Ledger Bill",
sponsor = "[[Civic Reform Covenant|CRC]]–[[Councilist Unity Front|CUF]]",
policy = "Standardises ballot ledgers, observer logs, shrine-site conduct, and security detachments for the 54 PSSC election.",
floor = d(54,1,60), repDate = d(54,2,11), senateDate = d(54,2,26), kingDate = d(54,2,30)
},
{
id = "BLP-054-047",
kind = "Resolution",
title = "Intercameral Mediation Rules Resolution",
sponsor = "[[Councilist Unity Front|CUF]]–[[Civic Reform Covenant|CRC]]",
policy = "Creates standing rules for Council-Senate mediation, amended returns, and urgent conference committees.",
floor = d(54,2,2), repDate = d(54,2,13), senateDate = d(54,2,28), kingDate = d(54,2,32)
},
{
id = "BLP-054-048",
kind = "Bill",
title = "Southern Strait Mission Supplies Bill",
sponsor = "[[Path of Renewal Party|PRP]]–[[Morovian Social Cooperative|MSC]]–[[Free Investors & Merchants League|FIML]]",
policy = "Purchases mission food stores, medical goods, ritual supplies, caravan rations, and inspected cargo containers.",
floor = d(54,2,5), repDate = d(54,2,16), senateDate = d(54,2,31), kingDate = d(54,2,35)
},
{
id = "BLP-054-049",
kind = "Bill",
title = "Hatch Ministry Civilian Claims Bill",
sponsor = "[[Civic Reform Covenant|CRC]]–[[Morovian Social Cooperative|MSC]]–[[Path of Renewal Party|PRP]]",
policy = "Creates a civilian claims route for property damage, mistaken seizures, convoy delays, and privateer-adjacent losses.",
floor = d(54,2,8), repDate = d(54,2,19), senateDate = d(54,2,34), kingDate = d(54,2,38)
},
{
id = "BLP-054-050",
kind = "Bill",
title = "Alperkin Customary Court Consultation Bill",
sponsor = "[[Alperkin Earth & Sky League|AESL]]–[[Civic Reform Covenant|CRC]]–[[Path of Renewal Party|PRP]]",
policy = "Requires consultation with Saint Mothers and customary legal authorities before specified land, custody, and route rulings.",
floor = d(54,2,11), repDate = d(54,2,23), senateDate = d(54,2,39), kingDate = d(54,2,43)
},
{
id = "BLP-054-051",
kind = "Bill",
title = "Port Quarantine and Cargo Health Bill",
sponsor = "[[Path of Renewal Party|PRP]]–[[Civic Reform Covenant|CRC]]–[[Councilist Unity Front|CUF]]",
policy = "Creates quarantine lanes, cargo-health tagging, shrine-medical notices, and sealed transfer procedures.",
floor = d(54,2,14), repDate = d(54,2,26), senateDate = d(54,2,42), kingDate = d(54,2,46)
},
{
id = "BLP-054-052",
kind = "Bill",
title = "General Port Price Board Bill",
sponsor = "[[Morovian Social Cooperative|MSC]]",
policy = "Creates a stronger price board for staple goods, stipend basket reviews, and emergency market interventions.",
floor = d(54,2,18), repDate = d(54,2,31), senateDate = d(54,2,47), senateResult = "stalled"
},
{
id = "BLP-054-053",
kind = "Resolution",
title = "War League Southern Strait Readiness Resolution",
sponsor = "[[War League Guardians Bloc|WLG]]–[[Councilist Unity Front|CUF]]",
policy = "Endorses continued readiness rotations, lawful passage protection, anti-smuggling patrols, and liaison offices.",
floor = d(54,2,22), repDate = d(54,2,34), senateDate = d(54,2,48), kingDate = d(54,2,51)
},
{
id = "BLP-054-054",
kind = "Resolution",
title = "Diaspora Consular Voting Clarification Resolution",
sponsor = "[[Diaspora Bridges Movement|DBM]]–[[Civic Reform Covenant|CRC]]–[[Councilist Unity Front|CUF]]",
policy = "Clarifies consular voting records, remote registration, advisory notices, and host-state respect for diaspora participation.",
floor = d(54,2,26), repDate = d(54,2,37), senateDate = d(54,2,50), kingDate = d(54,2,53)
},
{
id = "BLP-054-055",
kind = "Bill",
title = "Annual Stipend and Route Discipline Omnibus Act",
sponsor = "[[Councilist Unity Front|CUF]]–[[Morovian Social Cooperative|MSC]]–[[Path of Renewal Party|PRP]]",
policy = "Combines stipend stabilisation, route security, shrine relief, rural support, and final pre-election appropriations.",
floor = d(54,2,35), repDate = d(54,2,48), senateDate = d(54,2,57), kingDate = d(54,2,60)
},
{
id = "BLP-054-056",
kind = "Resolution",
title = "Dissolution and Writs Resolution",
sponsor = "Council officers",
policy = "Closes the 53–54 PSSC legislative year and prepares writs for the 61 Thalassiel 54 PSSC election.",
floor = d(54,2,61), repDate = d(54,2,61), senateDate = d(54,2,61), kingDate = d(54,2,61)
}
}
function p.main(frame)
local args = frame and frame.args or {}
local currentDate = getDisplayDate(args)
local nowSerial = dateSerial(currentDate)
local sessionStartSerial = dateSerial(SESSION_START)
local sessionEndSerial = dateSerial(SESSION_END)
local out = {}
table.insert(out, '<div class="bassaridian-legislative-process">\n')
table.insert(out, "''Current legislative display date: '''" .. dateTextLong(currentDate) .. "'''''.<br />\n")
table.insert(out, "''Session covered: '''" .. dateTextLong(SESSION_START) .. "''' to '''" .. dateTextLong(SESSION_END) .. "'''''.''<br />\n")
if nowSerial < sessionStartSerial then
table.insert(out, "''The legislative session has not yet opened; all measures remain pending.''\n")
elseif nowSerial > sessionEndSerial then
table.insert(out, "''The legislative session has closed; the table shows final cycle status.''\n")
else
table.insert(out, "''The table updates automatically as measures reach the floor and move through the Council of Representatives, Senate of Elders, and Council of Kings.''\n")
end
table.insert(out, '\n{| class="wikitable" style="font-size:90%; width:100%; margin-top:0.8em;"\n')
table.insert(out, '! style="width:12%;" | Status color\n')
table.insert(out, '! Meaning\n')
table.insert(out, '|-\n')
table.insert(out, '| style="background:' .. colors.grey .. '; text-align:center; font-weight:bold;" | Grey\n')
table.insert(out, '| The measure has not reached that stage.\n')
table.insert(out, '|-\n')
table.insert(out, '| style="background:' .. colors.red .. '; text-align:center; font-weight:bold;" | Red\n')
table.insert(out, '| The measure is active, contested, rejected, returned, denied, stalled, or otherwise not yet passed at that stage.\n')
table.insert(out, '|-\n')
table.insert(out, '| style="background:' .. colors.green .. '; text-align:center; font-weight:bold;" | Green\n')
table.insert(out, '| The measure has passed that stage.\n')
table.insert(out, '|}\n')
table.insert(out, '\n{| class="wikitable sortable" style="font-size:86%; width:100%;"\n')
table.insert(out, '! Floor date\n')
table.insert(out, '! Measure\n')
table.insert(out, '! Type\n')
table.insert(out, '! Sponsor / coalition\n')
table.insert(out, '! Policy area\n')
table.insert(out, '! Council of Representatives\n')
table.insert(out, '! Senate of Elders\n')
table.insert(out, '! Council of Kings\n')
for _, item in ipairs(measures) do
table.insert(out, '|-\n')
table.insert(out, '| ' .. dateText(item.floor) .. '\n')
table.insert(out, '| [[' .. item.id .. ']]<br />\'\'\'' .. item.title .. '\'\'\'\n')
table.insert(out, '| ' .. item.kind .. '\n')
table.insert(out, '| ' .. item.sponsor .. '\n')
table.insert(out, '| ' .. item.policy .. '\n')
table.insert(out, '| ' .. councilCell(nowSerial, item) .. '\n')
table.insert(out, '| ' .. senateCell(nowSerial, item) .. '\n')
table.insert(out, '| ' .. kingsCell(nowSerial, item) .. '\n')
end
table.insert(out, '|}\n')
table.insert(out, '</div>')
return table.concat(out)
end
return p